I have a assignment that uses structure. There is an input file that is to be read into a type structure. How can i do this without knowing how many structure data is in the file.
Printable View
I have a assignment that uses structure. There is an input file that is to be read into a type structure. How can i do this without knowing how many structure data is in the file.
The file must also contain the amount of data. This info should be right at the start, where you can read it and act accordingly.