This is my code that has a syntax error.
struct cell{
bool in;
bool up;
bool left;
int prevx, prevy;
};
cell MAZE[xsize][ysize];
This code, which looks good to me returns me on the line “cell” this error:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 'MAZE'
Can any of you point out my mistake?
You could do this too.