delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/29/14:03:09

From: dmt AT bigfoot DOT com (Jeff W./DMT)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Linked lists
Date: Sun, 29 Mar 1998 18:46:27 GMT
Organization: ZipLink -- America's Hottest ISP
Lines: 32
Message-ID: <351e969b.723397@news.ziplink.net>
References: <3 DOT 0 DOT 5 DOT 32 DOT 19980329185251 DOT 007a4430 AT vip DOT cybercity DOT dk>
NNTP-Posting-Host: chi-ip-1-222.ziplink.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Sun, 29 Mar 1998 18:52:51 +0200, "Nils Emil P. Larsen"
<Peter_Larsen AT vip DOT cybercity DOT dk> wrote:

>Hi!
>
>Can anyone show me (or tell me where to find) a good example of practical
>using of linked lists? I really don't understand what they a for, but I
>think they are important!
>
>Thank you very much!
>Nils Emil P. Larsen
>

In my computer science class, we use them for several things:
1) When we don't know how big to make an array of data, in which case
a linked list will allocate only the amount of space it needs without
wasitng any
2) When we don't want to limit the size of data in an array.  Instead
of declaring a static array of size X, the linked list can
theoretically grow forever (well, until you run out of memory =)

 --Jeff W.

 "The finding of DMT in normal human body fluids
 opens up interesting moral and legal questions.
 Since DMT is illegal, as is 'any substance, compound
 or mixture' containing DMT, it would seem that we
 are all guilty of possesion of a controlled substance"
 -Jonathon Ott

 My weird, trippy page:
 http://www.geocities.com/SunsetStrip/Alley/3450/index.html

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019