Beginners (Page 5)

If branch when comparing 'yes'
Hi everyone. I'm very very new to programing. I am trying to write a simple program in attempts to t...
[3 replies] Last: Thanks for you help! i figured it out, the problem was i was line 4 i... (by Shifty189)
How to ignore certain characters?
Hi, so this program is basically a menu, and it asks the user to input an option of either calculati...
[2 replies] Last: Hi, I did what you said, and it looks like it is working properly! I ... (by pizzapieman3)
Help with running total, functions and mod (HW Assignment)
I'm trying to display the average of the running total of tickets issued. I'm not sure if its a logi...
[no replies]
instead of typing roll i would like to just press a button. how would i do that #include <ios...
[1 reply] : If you want to press any key and then enter you could just have cin >... (by ninjachachi)
error LNK2005, i need help for that??
Hi everyone, I wrote my codes in my program, but i got this error every time when i compile my pro...
[3 replies] Last: Finally, i solved my problem. i just change header and compiler from s... (by MRAziz2000)
Define friend function
I am going to be very honest here and admit that this is one of twenty homework questions I have in ...
[5 replies] Last: Like most things that don't make sense on this site, it is being done ... (by dragonfly95670)
Having trouble with this class
Won't compile the following is the input file. I'm sure I'm missing some stupid. Please help. Stock...
[5 replies] Last: Thank you for mentioning that. It is fixed now. It basically told me t... (by dragonfly95670)
by JacobC
Splitting a Piece of Code into 2 Classes
Hi, I have written a fully functional "game" but I need to split the code into two classes. I was th...
[2 replies] Last: I think I may have gotten the solution. Thanks for the tip with the co... (by JacobC)
return 0
if 0 is false and 1 is true what does return 0 means ?return a false value to compiler !? am i mis...
[2 replies] Last: There are two different uses here. If you cast an int to a bool , ... (by MZH)
How can I validate this 5 digit number (zipcode)
I need an easy method for validating a 5 digit number, in this case being a zipcode. Obviously what ...
[1 reply] : A zip code is not an integer. Integers can't start with 0, whereas zip... (by MZH)
do-while loop
why do we use the Do-While loop? What's the point of using it? what is the difference between do-whi...
[6 replies] Last: do{ }while(true) if(true) while(true){ } They check to see if th... (by BHX)
by HotWax
getline is adding an extra space.
EDIT: I've figured out the problem. But thank you for checking in! Hello everyone! I'm just about f...
[2 replies] Last: After I added inFile.ignore(); that's what it did but then I just a... (by HotWax)
Assignment Problem
I have an assignment for school that says the following: "Write a program that executes multiplic...
[2 replies] Last: void f(unsigned x, unsigned n){ for(unsigned i=0; i<n; i++){ ... (by DrZoidberg)
2 dimensionals
This program is supposed to output the row and column of the number entered by the user but it is no...
[1 reply] : Why are you incrementing row after a match has been found? (by DrZoidberg)
No match for operator<<
On line 28 I'm receiving the error "no match for operator<<" followed by "note: candidates are". Cou...
[3 replies] Last: Maybe you want to have #include <string> in the header? I should put ... (by lastchance)
I need help with Car Class.
Hi, i am doing my HW and i got stuck with these 2 errors. I don't really get it because literally i...
[3 replies] Last: can you show me where does it not match bc the complier said it too. ... (by jlb)
Operator overloading
I keep getting errors from trying to set up a operator overloading function. The gist of the program...
[4 replies] Last: The operator=(...) must be declared within the class/struct, not outsi... (by coder777)
C++ converting to template classes (operator errors and such)
EDIT: I fixed mostly everything and now I just have the following two errors in my AnyList.cpp file,...
[3 replies] Last: Good point! (by gunnerfunner)
by alware
toitoi 1
Write your question here. Put the code you need help with here. #include <iostream> #in...
[1 reply] : Hello alware, Please use code tags around your code. It gives it line... (by Handy Andy)
by gomega
C++: Accessing Text File to Organize and Display to User
Write your question here. I have a basic C++ program trying to access a text file, grab information...
[2 replies] Last: Thank you so much for your help! Everything is perfectly clear now. ... (by gomega)
Pages: 1... 34567... 77
  Archived months: [aug2016]

Cannot post in this page. To post a new message, go to the first page.