I'm not sure about this one "aspect", if you may. Would it be better to do this:
and have nested structures, or better to do this:Code:struct student { char name[50]; struct student *next_stud; struct grade { int grade; struct grade *next_grad; }; };
I don't think there is much of a difference, is there? I just didn't nest the structures the second time. Thanks.Code:struct grade { int grade; struct grade *next_grad; }; struct student { char name[50]; struct student *next_stud; struct grade *grad; };
--Garfield