Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #define M 15
- #define N1 60
- std::string maze[M]={
- "#############################################################\n",
- "#U # # C # # # # #\n",
- "# # ####### # C# # #### # #### ####### #############\n",
- "# # C # # # # C # C # # # # #\n",
- "# # ####### ####### # # ############# #### # # # #\n",
- "# # C # # # # # # C# # # #\n",
- "# ####### # # # ########## # # #### # ########## #\n",
- "# # # C # # # #\n",
- "# ############# #### #### #### #### ########## #######\n",
- "# # # #C #C # # C# # # # #\n",
- "# # #### #### #############C #### C# #### # ####### #\n",
- "# #C # # #C #C # C # # C # C # #\n",
- "# ####### # # #### # # #### # # # #### # # ####\n",
- "# C #C # C # C # # C # C |\n",
- "#############################################################\n"};
- #include <windows.h>
- void cls()
- {
- HANDLE hOut;
- COORD Position;
- hOut = GetStdHandle(STD_OUTPUT_HANDLE);
- Position.X = 0;
- Position.Y = 0;
- SetConsoleCursorPosition(hOut, Position);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement