Sorry if the title was confusing ( im a little confused! ) Was wondering if anyone know how to dynamically set up a link list in C. Basically i have a structure (students) which have two data pieces, a int which is the id # for that student and then they need to have a linked list of the courses they are taking (courses are the second struct) in the course struct it has the number of credits, max students, time etc that kind of stuff. But what im wondering is how I could dynamically make a link list for each student that would have the correct number of courses, because each student could have any number of classes I don't know how to do this. I could do it if each student only had one class ^^, thanks for any info on the subject.