Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <iostream>
- using namespace std;
- int main(){
- char map[10][10] = { "XXXXXXXXX",
- "XXXXXXXXX",
- "XXXXXXXXX",
- "XXXXXXXXX",
- "XXXXXXXXX",
- "XXXXXXXXX",
- "XXXXXXXXX",
- "XXXXXXXXX"};
- map[10][10] = char(255);
- for(int y; y < 10; y++){
- for(int x; x < 10; x++){
- cout << map[y][x];
- }
- }
- system("pause >nul");
- }
Advertisement
Add Comment
Please, Sign In to add comment