Linked Lists

Started by
8 comments, last by Samurai_x 22 years, 2 months ago
Can anyone show me or point me to a tut on Linked lists. I need a easy way then maybe a more complicated faster way.
Advertisement
Google it! ;-D
Heres a good tutorial (helped me lots)
http://www.cprogramming.com/tutorial/lesson15.html


Oh cool,
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
______________________________Yes I think the rev pad sucks/so does 50 and the DS. I like action and am not ashamed. I prefer brunettes but hate chocolate. Yes,I have opinions!!! Rate as you will.
Whoa that was quick.
I'm looking at the www.Gametutorial.com tutorial right now(It could be better)
Thanks to everyone

Edited by - Samurai_X on January 23, 2002 6:59:45 PM
What language? I got a 100% on my linked list assignment for college in JAVA And now I know c++ *blush*. You could say I'm a "master" at linked lists. Well, any and all data structures, really. I rawk!

Email me at bctorvik@yahoo.com 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
"Me lose brain cells?" *laughter, then a pause* "Why I laugh?"
Oh, and here''s a super easy way:


std::list< data_type* > yourList;

Again, email me for more.
"Me lose brain cells?" *laughter, then a pause* "Why I laugh?"
quote:Original post by bctorvik
What language? I got a 100% on my linked list assignment for college in JAVA


Did you use the built-in Linked List class in the java API?

Ok, now what do I with Linked Lists
you make a dynamic list of something.
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.

[Formerly "capn_midnight". See some of my projects. Find me on twitter tumblr G+ Github.]

This topic is closed to new replies.

Advertisement