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++.
2 Antworten
+ 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;
}
0
Thank you.