Mail Archives: djgpp/1997/01/25/03:12:06
Moo-Juice wrote:
>
> >If you want to make the entire list dynamic, i.e.; its size can change
> >during runtime, then you need a much more complex algorithm, but again
> >it's something that's in every C textbook I've ever seen. If you really
> >still need help, email me in private and I'll send you more samples.
>
> Surely simply using a realloc will suffice?
Possibly, but I'm referring to a dynamic linked list, with a head and
next pointers and the whole schmear. It's a standard programming
technique, but explaining it to a newbie takes a lot of space. :)
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com |
| Proud owner of what might one | http://www.cs.com/fighteer |
| day be a spectacular MUD... | Plan: To make Bill Gates suffer |
---------------------------------------------------------------------
- Raw text -