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; }
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