Creating a 2 dimensional array in C

Hello,
I'm having a problem trying to create a 2 dimensional array in C.The array consists of a table with 12 rows and 8 columns.I've written the table and saved it as a .dat file in notepad.Now the program is to determine the minimum,maximum and average of each column.The data are to be read from the file which i've already created.
Can anyone give me hints on this please?
Read the file back in an array and iterate between rows and columns to get the values
The creation of the array would just be declared
int array[12][8]. Accessing each member is generally done with two loops.
1
2
3
for (int i = 0; i < 12; ++i)
       for (int j = 0; i < 8; ++j)
             array[i][j] = x;
closed account (S6k9GNh0)
I have a good example of this being done in a small program that takes letters and encodes them and decodes them using a two-dimensional array. I also made a GUI for it somewhere on wxWidgets forum.
Topic archived. No new replies allowed.