Posted 23 January 2002 - 11:22 AM
Members - Reputation: 100
Posted 23 January 2002 - 11:47 AM
i''m finally helping someone on this site.I just used this tonite and it was pretty easy.
Just go to www.gametutorials.com and search the c plus plus
tutorials.Theres a linked list tuorial there.BIG_DOG told me where to find it
Members - Reputation: 122
Posted 25 January 2002 - 07:56 PM
Email me at firstname.lastname@example.org if you want an example that will rock your socks off!! (maybe it won't...)
EDIT: Why do people say what they edited?? Well, I will too! I accidentally spelled "lists" as "listed." OOPS!
Edited by - bctorvik on January 26, 2002 2:57:53 AM
Crossbones+ - Reputation: 1375
Posted 29 January 2002 - 03:24 AM
For example, if you are makeing a chat server and there will be a large number of people logging on and off over a relatively short period of time, you would use a linked list. That way, you could add people and remove people quickly without having to shuffle an array.
Arrays are great if you know exactly where in you collection you have something.
Linked Lists are best when you have to keep things sorted and you have to add and remove things from the middle of the list.