I have a data file with following structure
111 (StudentID)
Mary (StudentName)
30 (Score)
222 (StudentID)
David (StudentName)
40 (Score)
........
(20 records in this data file)
I want to how to read these data into a linked list:
Struct student {
int studentID;
char name[20];
int score;
struct student *next;
};
Thank you very much !!!