[FIXED] Scan file contents into an array of a structure.
- by ZaZu
Hello,
I have a structure in my program that contains a particular array. I want to scan a random file with numbers and put the contents into that array.
This is my code : ( NOTE : This is a sample from a bigger program, so I need the structure and arrays as declared )
The contents of the file are basically : 5 4 3 2 5 3 4 2
…