I have a file that has the following data:

a12 (where a1 is supposed to be a variable called inclass and 2 means the number of records in the file)
andrew1234567abcdefgh
bingoa7654321asdasahd

and a
struct personal {
char name[6];
char number[7];
char instring[8];
};

how should i go about reading the data into the struct using c++ statements?