Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma hdrstop
- #include <iostream>
- #include <vector>
- using namespace std;
- int main()
- {
- typedef std::vector < int > V_int;
- typedef std::vector < V_int > Letter;
- Letter K { { 1, 0, 0, 1, 0 },
- { 1, 0, 1, 0, 0 },
- { 1, 1, 0, 0, 0 },
- { 1, 0, 1, 0, 0 },
- { 1, 0, 0, 1, 0 }
- };
- for (auto v : K ) {
- for (auto i : v)
- if (i == 1) { cout << "*" ; }
- else { cout << " " ; }
- cout << "\n";
- }
- cout << endl;
- int x; cin >> x;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement