I'm new to programming, looking for help in c.
I've got a simple structure:
struct list {
char name[10];
char sname[15];
int year, month, day;
};
And a text file:
john smith 1980 01 10
gabriel anderson 1975 11 15
john anderson 1991 03 11
Could you tell me how to read this file to an array of lists?