How would i create a 2d int array that hold these char symbols?
a 2D int [ROWS][COLS] array that would hold char symbols:
'.' for clear water
'S' for submarines (in DE_BUG mode)
'#' for sunk submarines
'n' where n is an integer representing the distance between a depth charge location to
the nearest live submarine.
I looked them up in an ASCII table. I wrote the values in the program for you, as well, lines 10 thru 13. In your program, you just check the value at the array location, and print accordingly.
1 2 3
if(grid[row][column] == 35)
cout << "There is a sunk sub here." << endl;
// etc.