char * maze_cells = new char * [maze_height]; for(int i = 0; i < maze_height; i++) maze_cells[i] = new char[maze_width];