Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.46 KB | None | 0 0
  1. // Andjela.cpp : Defines the entry point for the console application.
  2. //
  3. #include <iostream>
  4. #include <cstdlib>
  5.  
  6.  
  7. int main()
  8. {
  9.     char Map[10][10] = {
  10.         "#########",
  11.         "#       #",
  12.         "#       #",
  13.         "#       #",
  14.         "#       #",
  15.         "#       #",
  16.         "#   @   #",
  17.         "#########" };
  18.  
  19.  
  20.  
  21.     for (int y = 0; y < 10; y++)
  22.     {
  23.         for (int x = 0; x < 10; x++)
  24.         {
  25.             std::cout << Map[y] << std::endl;
  26.         }
  27.        
  28.     }
  29.  
  30.     system("PAUSE");
  31.     return 0;
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement