2 posted articles I googled them
http://www.fredosaurus.com/notes-cpp/ds-lists/list-ex1a.html it supports *head and *back pointer. which I'm perfer.
http://www.dreamincode.net/code/snippet82.htm this one easy and clean for the beginner.
To enable removeBack() method wihout using loop in linked list. I guess unless I put another attribute of a point* of node to point the previous node; otherwise it is an unsolved quest.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment