I have warning:
note: expected ‘float (*)[100]’ but argument is of type ‘float (*)[100][100]’
My function looks like:
int readfile (float macierz_A[MAXSIZE][MAXSIZE], float macierz_B[MAXSIZE][MAXSIZE])
...
float A[MAXSIZE][MAXSIZE];
float B[MAXSIZE][MAXSIZE];
int r1;// = 3;
r1 = readfile(&A, &B);
Any idea?
Try to change this:
Into this:
Note that the & has been removed. Speaking in a very simple manner, you are passing a pointer to a multidimensional array, instead of the multidimensional array. (as you declared in the function declaration)