Beginners - October 2016 (Page 13)

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...
[5 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)
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)
Passing data between classes
 
Suppose I have two separate classes, Class A class A { public: int length; }; Class B class B ...
[4 replies] Last: AbstractionAnon, thanks; that seems to be the solution. The examples ... (by pharoah0110)
Generating all possible combinations of numbers under a certain number.
 
So im writing a program which finds pythagorean triples. I need to find a way to test out every sing...
[4 replies] Last: Hello @billy606, it seems you've started two threads for the same prob... (by gunnerfunner)
by fout
Function
 
I'm new to coding. I'm working on a class assignment that converts a zip code to a barcode. I'm stuc...
[2 replies] Last: Hello fout, Unless you come up with some kind of loop there is no sho... (by Handy Andy)
LOOP Help
 
i am trying to have a way to make the program goback to the top of the while loop. When the user ent...
[3 replies] Last: Hello fivestar, If you want to put an if statement in before the while... (by Handy Andy)
October 2016 Pages: 1... 1112131415... 51
  Archived months: [sep2016] [nov2016]

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