How do you create an array of structures with dynamic allocation that reads records in a text file?

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).
Kon95
Asked Dec 02, 2015

TIP: If it's not your answer to this question, please click "Leave a Comment" button under the question to communicate with the question owner.

Categories