Hi All,
I don't want to use the struct structure to access or represent the elements, I just want to save integer values to a binary file (now I have the data stored on a text file and the first line in it represent the dimensions of the matrix) and then access them and store them in a 1D array.
for which the integer values are representable in reality by a 2D matrix but i will store them on a binary file, and I am going to copy them from the binary file and store them in a 1D array to access them as if they were 2D.
sorry I don't have code now ... but I am confused how to start!
Regards
I don't want to use the struct structure to access or represent the elements, I just want to save integer values to a binary file (now I have the data stored on a text file and the first line in it represent the dimensions of the matrix) and then access them and store them in a 1D array.
for which the integer values are representable in reality by a 2D matrix but i will store them on a binary file, and I am going to copy them from the binary file and store them in a 1D array to access them as if they were 2D.
sorry I don't have code now ... but I am confused how to start!
Regards
Comment