Are we supposed to do any sort of conversion when reading in the contents of the files or just simply read whatever data is there and store it into an integer array?
My current program reads in all the numbers and stores them in my int array, but it is reading the ASCII values and storing those. So each element of the array is not each integer in the file. It is also storing the SPACE and LF character in ASCII.
Printing this in binary to f4 and inspecting with a hexdump gives the same results of inspecting f1 with a hexdump, and after reading f4 back into a separate array (again with no formatting, just reading the data available) and comparing elements of my two arrays with gdb, they each contain the same values, i.e. the ASCII values of the character in each number split across multiple elements.
I'm just trying to make sure I'm not totally off track for the assignment.