Can someone explain what commands I should use for this (string library not allowed): Open the input file and read the records into an array of teamInfo structures. You'll need to create this array dynamically, because you won't know how many records there are until you start reading the file itself. The data from each record in the file should be stored in one teamInfo structure (i.e. one array slot per team record).