questa è la funzione:
int setupMap(int bg[][], int objects[][]){
int x,y, content;
for(y = 0;y < MAPH;y++){
for(x = 0;x < MAPW;x++){
content = bg[y][x]; //ERRORE
switch(content){
case 0:
...
break;
...
}
}
return ...;
}
e durante la compilazione (Dev-C++) mi da questo errore alla linea che vi ho segnato:
main.c:19: invalid use of array with unspecified bounds
che è?Non mi sembra ci siano errori...