Hi, I've found this example of a linked list on the web:
http://www.dreamincode.net/code/snippet82.htm
..and my question is this: in the example the author has a structure within the class called 'node' and within that is the usual linked list things, but why not just place these things right in the class itself? Instead of creating new 'nodes' you would create new 'myLinkedListClasses'. I guess what I'm really wondering is if one approach is better(more efficient) than the other or if they're really just the same in the end(as they do both work fine).
Thanks,
Roger