#include #include #include "maze.h" #include "bot.h" int main( void ) { int w, h, s; cin >> w >> h >> s; if( w <= 0 || h <= 0 ) { cout << "Width and height must both be positive." << endl; return -1; } srand( s ); Maze maze( w, h ); Bot bot( maze ); cout << maze << endl; bot.solve(); cout << maze << endl; // Give the NT user some time to look at the output before // closing the window. while( cin && cin.get() != '\n' ); while( cin && cin.get() != '\n' ); return 0; }