hello everyone,
i have been given a task in my class to create a student database. it has to be able to allow a user to enter a class code, class name and a linked list of students enrolled in the class. the struct we have been given to use is below:
struct class
{
char class_code[5];
char *class_name;
nodepointer students_enrolled;
}
typedef struct node *nodepointer;
struct node
{
char *student_name;
nodepointer next;
}
an array of size of 20 structs must be used to store the info.
of course im not looking for anyone to do all the work for me but im looking for some help getting started.
cheers