Hi,
pAllok *T_Schueler = new(T_Schueler);
pAllok->next = NULL;
pKopf = pAllok;
..womit ich aber wieder bei der ursprünglichen Frage wäre. Warum funktioniert das Programm trotzdem, obwohl diese zeile fehlt?
» pAllok->next = NULL; (bzw ..->next = kopfzeiger, weil dieser ja am Anfang noch NULL ist)
Markus.
--
sh:( fo:| ch:? rl:( br:> n4:( ie:{ mo:) va:) de:] zu:) fl:( ss:| ls:] js:|
sh:( fo:| ch:? rl:( br:> n4:( ie:{ mo:) va:) de:] zu:) fl:( ss:| ls:] js:|