Professional Documents
Culture Documents
cpp
Implementation file for a class of a linked list of strings
*/
#include "listT.h"
void LinkedList::PrintNodes()
{
NodePtr p = start; // pointer to the starting node
while( p != NULL )
{
cout << p -> actorName << " ";
p = p -> next;
}
cout << "\n" << endl;
}