The only code i have so far is this
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#include <iostream>
using namespace std;
int main() {
const int HEIGHT = 15, WIDTH =30;
string a[HEIGHT][WIDTH];
int x, y, i, j;
for (i =0; i <HEIGHT; i++){
for (j=0;j<WIDTH; j++){
a[i][j] = "*";
cout << a[i][j];
}
cout <<endl;
}
return 0;
}
|
so i get this
******************************
******************************
******************************
******************************
******************************
******************************
******************************
******************************
******************************
******************************
******************************
******************************
******************************
******************************
******************************
I need mine to look like this
.....P.......................S
..............................
..............................
....G.........................
..............................
..............................
..............................
..............................
..............................
.....................3........
..............................
..............................
.........M....................
..............................
M.............................