// Chap 9, p 395 void DisplayList(ptrType Head) // Displays the data in a linked list. { ptrType Cur = Head; while ( Cur != NULL) { cout << Cur->Data << endl; Cur = Cur->Next; } } // end DisplayList