Hey,
I have a singly linked list that has a show all function that looks like this
virtual void Show()
{
myObject->Show(); myNext->Show();
}
Where myObject is a class ordered by an int. This function prints out all information in the list.
I was wondering how I could change this at the start print out just the first object then on user input move on to the next object?
Thanks!