There is a array of structures.
static field fields[xsize][ysize];
I want to change it in function
void MoveLeft(pacma
While I'm not using Windows, I'm guessing your error is something similar to this:
error: cannot convert ‘field (*)[xx]’ to ‘field**’ for argument ‘2’ to ‘void MoveLeft(pacman*, field**,int**)’
A solution to this is to simply cast the fields
parameter to the type the function wants:
MoveLeft(&Pacman, (field **) fields, play);