I study computer science.
Tomorrow I have to be finish with some work (a small c-programm).
If someone could send me an example, how to make a "list" with "pointers".
Because I have to store many, many values.
(I remember in Modula..)
Something like:
record Element {
int value;
int *nextPointer;
}
for(int i=0;i<=10;i++) {
main = new(Element);
main.value = 123;
temp = new (Temp);
main.nextPointer = tempM;
}
--> I need this in C (not C++),
Thanks,
Adrian