Jump to content

  • Log In with Google      Sign In   
  • Create Account


Linked Lists


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
9 replies to this topic

#1 Samurai_x   Members   -  Reputation: 122

Like
Likes
Like

Posted 23 January 2002 - 11:18 AM

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.

Sponsor:

#2 siaspete   Members   -  Reputation: 208

Like
Likes
Like

Posted 23 January 2002 - 11:22 AM

Google it! ;-D

#3 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 23 January 2002 - 11:22 AM

Heres a good tutorial (helped me lots)
http://www.cprogramming.com/tutorial/lesson15.html


#4 Access   Members   -  Reputation: 100

Like
Likes
Like

Posted 23 January 2002 - 11:47 AM



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

#5 Samurai_x   Members   -  Reputation: 122

Like
Likes
Like

Posted 23 January 2002 - 11:54 AM

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

#6 bctorvik   Members   -  Reputation: 122

Like
Likes
Like

Posted 25 January 2002 - 07:56 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

#7 bctorvik   Members   -  Reputation: 122

Like
Likes
Like

Posted 25 January 2002 - 09:17 PM

Oh, and here''s a super easy way:


std::list< data_type* > yourList;

Again, email me for more.

#8 SpaceRook   Members   -  Reputation: 160

Like
Likes
Like

Posted 26 January 2002 - 03:50 AM

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?



#9 Samurai_x   Members   -  Reputation: 122

Like
Likes
Like

Posted 28 January 2002 - 02:39 PM

Ok, now what do I with Linked Lists

#10 capn_midnight   Crossbones+   -  Reputation: 1375

Like
Likes
Like

Posted 29 January 2002 - 03:24 AM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS