Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void board (int wiersze, int kolumny)
- {
- for (int i = 0; i < wiersze; i++)
- {
- for (int j = 0; j < kolumny; j++)
- {
- plansza[i][j] = 10;
- }
- }
- cout << " ";
- for (int i = 0; i < kolumny; i++)
- {
- cout << i << " ";
- }
- cout << "\n";
- char aktualny_wiersz = 'A';
- for (int i = 0; i < wiersze; i++)
- {
- cout << aktualny_wiersz << " ";
- aktualny_wiersz++;
- for (int j = 0; j < kolumny; j++)
- {
- cout << "#" << " ";
- }
- cout << "\n";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement