text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

c04p187.cpp

Go to the documentation of this file.
00001 
00015 // Display the data in a linked list to which head points.
00016 // Loop invariant: cur points to the next node to be
00017 // displayed
00018 for (Node *cur = head; cur != NULL; cur = cur->next)
00019    cout << cur->item << endl;

Generated on Sun Aug 27 13:05:37 2006 for AWLogo by  doxygen 1.4.6