Advertisement
Proff_Ust

Untitled

Feb 20th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.35 KB | None | 0 0
  1. #include <iostream>
  2. #include <clocale>
  3. using namespace std;
  4. /*
  5.  
  6. */
  7. int main()
  8. {
  9.     setlocale(0,"Russian");
  10.     bool **mas = new bool*[10];
  11.     for(int i=0;i<10;i++)
  12.         mas[i] = new bool[10];
  13.  
  14.     for(int i=0;i<10;i++)
  15.     {
  16.         for(int j=0;j<10;j++)
  17.             cout<<mas[i][j]<<" ";
  18.         cout<<endl;
  19.     }
  20.     return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement