I also need help writing code for a function which prints String objects in order one at a time on separate lines.
This is what I have?
What is wrong? THanks!Code:void PrintStrings(Node* head) { while(char !=NULL); cout << string<<endl; }
This is a discussion on state within the C++ Programming forums, part of the General Programming Boards category; I also need help writing code for a function which prints String objects in order one at a time on ...
I also need help writing code for a function which prints String objects in order one at a time on separate lines.
This is what I have?
What is wrong? THanks!Code:void PrintStrings(Node* head) { while(char !=NULL); cout << string<<endl; }
If that's all you have, you need to start here:
http://www.cprogramming.com/tutorial.html