hope you can help me with this, it's kinda tricky... i have txt file which contents names and marks of peple
for an example
Carl,Johnson,123xxx123,9;
like in order: name,surname,certificate no,mark;
struct xxxxx
{
char name[20];
char surname[20];
char certificate No[10];
int mark;
};
the problem starts when i need to read ten records from txt...
don't have clue how to duplicate struct, do i have to define it like ten times
struct xxxx sk1[ ],sk2[ ]... and so on...?