|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Linked lists
I am at the beginning of my last year in A-Level computer science, and this
week, we have been covering linked lists. Our teacher gave us some C++ code
for 2 different types of linked lists, the first is easy:
struct nodeType
{
int component;
int link;
};
nodeType list[1000];
int head;
obviously this is not dynamic. He also gave us a dynamic linked list, which
I do not understand. I was hoping that someone could explain it to me. This
is what he gave:
#include <stddef.h>
=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once
To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html
|
|