Should be like this:
So you have the iostream stuff figured out? You still getting errors?Code:for (x = 0; x < maxX; x++) {// <---- opening brace A for (y = 0; y < maxY; y++) {// <---- opening brace B //stuff here }// <---- closing brace B }// <---- closing brace A do { //stuff here }while (mazey[mouseX][mouseY] != 0);