Hi,

I have an array of 300 X 7 declared in the main() and I need to initialize each data in another function like:
array[0][0] = 2;
array[0][1] = 10;
array[0][2] = 4;
and so on...

I tried to initialize the entire array at the time, but it doesn't work: array = {{2,10,4,..},{...},...} seems to work only with the array declaration.

Is there a way to avoid writing 2100 rows of code for the assignation ?

Note: I use C for programming, and not for running under windows, but I think it's a general C question.

Thanks,
Frelon102