Forum: C++ Oct 23rd, 2004 |
| Replies: 2 Views: 4,069 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?
... |
Forum: C++ Oct 23rd, 2004 |
| Replies: 2 Views: 15,210 thank Stack,
all the information was helpful.
For the second question, the makeNode() one, I am really confused now. Please forget about what I asked in first post.
Here is part of my .h... |
Forum: C++ Oct 21st, 2004 |
| Replies: 3 Views: 1,679 gcc is also a good choice for c++ compiler |
Forum: C++ Oct 21st, 2004 |
| Replies: 1 Views: 1,586 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; |
Forum: C++ Oct 20th, 2004 |
| Replies: 4 Views: 1,906 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... |
Forum: C++ Oct 20th, 2004 |
| Replies: 2 Views: 15,210 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... |