Beginners - February 2014 (Page 34)

by blue10
Caesar cipher +5
 
I am completely new to the programming world and I am having trouble writing this code correctly. I am supposed to shift the letters of the alphabet 5 spaces to...
[5 replies] Last: Another tip you can make it more readable if you change your if statem... (by giblit)
by blue10
Using Int in change calculator
 
I am trying to make a program in which you enter a dollar amount and it gives you the smallest coin denomination possible. This is what I have so far, but it ha...
[no replies]
reverse an array
 
This will print out the binary in reverse order, but when I try to turn reverse it to the correct order, it doesn't work. I've been able to make this work in p...
[4 replies] Last: In line 57: binArr = binary; the b should be a p. That's awesome... (by pilotnate)
help loop 2
 
it just wont run and i just got help and put that in but im not sure i did it right because it wont run other forum post: http://www.cplusplus.com/forum/beginn...
[3 replies] Last: thank you now i fix my first fully operational conversation (by kmtompkins)
Not sure how to start this, using substr
 
I have no idea where to start, this is what the assignment says: Write a program that prompts the user to input a string. The program then uses the function ...
[8 replies] Last: Sorry, here's my code, thanks for the help with getline, it worked, bu... (by BrookeP)
loop help
 
once it hits the else i want to be able to run the program again so they can try it again i know i need loop but i don't know how #include <iostream> #in...
[3 replies] Last: jewelcpp it comes up with 1 failed it wont run (by kmtompkins)
Using for loop correctly
 
Hi, so the code that i am writing is suppose to allow the user 3 entries but i am unsure of how to properly make it work. for (i = 0; i > 4; ++i); {...
[6 replies] Last: You are still not removing that semi colon I mentioned in my first pos... (by Smac89)
by gduong
Class/string error
 
I am stuck on what to do. The compiler is giving me this error. Any help is appreciated. Thank you. main.obj : error LNK2001: unresolved external symbol "pub...
[5 replies] Last: Thank you for both your input. I combined what you guys said about my ... (by gduong)
by Jekjek
Help!
 
can someone help me with these two errors. double a_withholding_tax (int gross_pay, int dependants) { double with_tax = gross_pay * dependants; if (dep...
[2 replies] Last: well yea it says that the error is on that line.. but uhm yea i think ... (by Jekjek)
by combzy
Calculate perimeter and area of triangle program
 
Hey there, I am trying to write a program that finds the perimeter and area of a triangle. It will prompt the user to enter the three sides and then it will cal...
[4 replies] Last: Hm, Those lines don't show up after the calculations have been made. I... (by combzy)
Two Dimensional Vector Help
 
So a friend and I are in a linear algebra class this semester and hate doing matrix inverses and looked ahead and got the (assume A is a nxn matrix): A^-1 = ...
[2 replies] Last: line 59 your vectors subscript goes out of range while the loop is run... (by Gkneeus)
by Chubby
Pointer function to main
 
How do you call the pointer function back to main? I already try "&" didnt work. For example: I have prototype void example (int, int, *int,*int,*int,*int)...
[7 replies] Last: Then you need to pass by reference. #include <iostream> void examp... (by MrHutch)
removing every other value from a linked list
 
Hello everyone, I have been reviewing some exercises for data structures in c++ I have to remove every other element in a linked list using the STL implem...
[2 replies] Last: pos = myList.erase(pos); for some reason I was thinking it was diff... (by Gkneeus)
Calculation of Area between Functions
 
Hello, wondering if anyone could help me with this problem. My professor asks me to calculate the function of y = x & y = x^3 in the domain [-1,1]. I am sort of...
[1 reply] : What are you lost on? The first one might be obvious if you think abo... (by MrHutch)
Palindrome with loop
 
Trying to create a program to test if a word entered is a palindrome and if not to loop back for a secondary prompt. Using Visual C++ 2010, it runs with no erro...
[4 replies] Last: A little bit of formatting might help to see the problem with the loop... (by long double main)
file operations
 
I can open text file but How i open new folder in c++? // basic file operations #include <iostream> #include <fstream> using namespace std; int main () { ...
[2 replies] Last: thanks a lot (by mertsamilgul)
header file problems
 
Hello, I know that you guys get sick of answering questions about multiple files in c++, and I am sure my problems are coming from not totally understanding ...
[1 reply] : Never mind, marking as solved. Next time I will set the linker up cor... (by visanoven)
HELP!
 
Hello, Currently I'm reading a book on c++ programming and one thing doesnt go right for me! I need to separate class's implementation from interface. I cur...
[3 replies] Last: Do i need to include like this?: #include "salesperson.cpp" I'm usin... (by tiporimvis)
Please help me!!!! Working with files
 
I don't know why am I getting this problem I use devcpp v5.5.1 The error is: fstream.h: No such file or directory #include<iostream> #include<fstream.h>...
[5 replies] Last: I got it thanks a lot (by Rishank)
C++ using DirectX, need help with code please
 
I am creating a brick breaker type game, and when the ball hits the bricks the bricks aren't dissapearing (like they should once I call the target.Destroy metho...
[1 reply] : Bump. (by Yoshimiii)
February 2014 Pages: 1... 3233343536... 60
  Archived months: [jan2014] [mar2014]

This is an archived page. To post a new message, go to the current page.