No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
hi i am having trouble understanding that what is the difference between having class xxx { } in the .h file and not having it? say i have these two code, can anyone tell me the difference? [CODE] #ifndef sample_h #define sample_h class sample { function1 (); function2 (); }; … | |
ok, here are the questions. QUESTION NO. 1: I am asked to build a complete binary tree using linked list. According to my knowledge, you are not able to sort the tree with a complete binary tree otherwise it is impossible to get it complete. I searched thru google and … | |
Re: gcc is also a good choice for c++ compiler | |
Re: I didn't look thru your code but I can give you some basic ideas here. Most of time, you have your main() in a seprated file, and just include the .h you are gonna use in the header, usually you include <iostream> as well. Then often you create an object … | |
Re: This isn't too hard if I dont misunderstand the question. Just give the example of first line, cout << "amount of blah used ----------------------------- " << money << " blah." << endl; |
The End.