0

Hello I need help on my assignment. I have a maze using symbols like - and |. It is a constant char array. Can i get help on how I can draw the maze on the screen? I'm not sure on how to write this code. Thanks for any help.

My application is a simple maze solver that keeps to the left. There is no loops in the maze. It is in c++.

27th Sep 2016, 10:45 AM
Raul
Raul - avatar
2 Réponses
+ 1
cout array in loop like : for (int i = 0; i < heightofmaze; i ++ ) { for(int j = 0; j < widthofmaze; j ++) { cout << array [i] [j]; } cout << endl; }
27th Sep 2016, 3:33 PM
Łukasz Walancik
Łukasz Walancik - avatar
0
Thank you.
27th Sep 2016, 7:07 PM
Raul
Raul - avatar