CSCI 2270 Computer Science 2: Data Structures
Fall 2003
Karl Winklmann

Linked lists

Tuesday, September 23, 2003

 


Previous page | Next page | Latest page | Schedule and syllabus | Home Page | Programs | Table of contents | News archive | Dora

These files show the linked list example discussed in class today: Node.h, Node.cxx, List.h, List.cxx, main.cxx, and a Makefile.

Note added later: Those files alsocontain the examples discussed on Thursday (mainly the remove function).

Compared to the stuff written in class today I added an output operator so that we can see that it all works.

The code as posted has a subtle bug in the sorting routine. To be discussed.  


© 2003 Karl Winklmann 3:08 PM, Tuesday, December 16, 2003