Templated Linked List
By Alan Baylis 15/09/2001
This example adds a templated linked list to the program and demonstrates its use in main.cpp (look for the comments) but not for any worthwhile purpose. It will be used in future demos/programs. I should have included the example in a smaller program but what's 224K these days. Maybe later.
Updated 30/01/2002:
The templated linked list is now doubly linked and includes a delete method. The link positions of the other objects in the list are automatically updated when an object is deleted, this was done to allow the list to be traversed using a standard loop index, but it is important to know or mistakes may be made.
Above Content Copyright © 1998 - 2005 Alan Baylis, All Rights Reserved