Well, I should take a look into the STL, however, I need to write my own linked list class for school. And probably I will use this one instead of the STL in my games. Anyway, writing your own Linked List is as important as knowing/understanding STL.
[EDIT]
Whoops, I didn't read the reply complete well. It should return a
MUTABLE reference. So CNode&
. And when there is nothing to return, just return NULL.
[/EDIT]
Sand Hawk
----------------
-Earth is 98% full. Please delete anybody you can.
My Site[edited by - sand_hawk on October 23, 2002 3:38:48 PM]