umm... no thats not quite what a linked list is, its like a dynamic array that can hold seemingly infinte (depending on memory constraints etc) nodes/objects/etc, I suggest you get a good book to learn about this sorta thing, in a singly linked list you have a head class, then a node class and the list points to the next node, so:
HEAD NODE -> pointer to next node -> etc
If you want all the code to the breif snippet I posted before, email me.
CEO Platoon Studios
Popular Topics
Advertisement