Hi....
I have a problem with my declaring my array. I just keep getting message like this:
invalid types `float[9][float]' for array subscript
Here my code:
I don't know what's wrong..
if you could help me, I really appreciate it
Thank you
I have a problem with my declaring my array. I just keep getting message like this:
invalid types `float[9][float]' for array subscript
Here my code:
Code:
#define size 2
#define size2 size*size
#define point2 (size+1)*(size+1)
int main ( )
{
float ax[size2][24],ay[size2][24];
float R[size2][point2],S[size2][24][point2];
float e;
for (i=0; i<size2; i++){
for (l=0;l<24;l++){
for (j = 0; i < Lx[i]; j++){
for (k = 0; k < Ly[i]; k++){
e=j+k*Lx[i];
R[i][l][e]=ax[i][l];
S[i][l][e]=ay[i][l];
}
}
}
}
}
if you could help me, I really appreciate it
Thank you
Comment