PLEASE HELP!!!!!!!!!!!!!

PLEASE HELP!!!!!!!!!!!!!

This is a battleship program, all im asking for is how to create the board.

This is how my professor wants it https://www.pdf.investintech.com/preview/0da42838-e079-11e7-9f8d-0cc47a792c0a/index.html

Last edited on
PLEASE HELP!!!!!!!!!
Create a vector of a vector of int. Set each int in the vector to 0. When you add subs change the 0 in the array to a 1, where 1 would be the location of a sub.
Can you send a code of that?
Your professor refers to a 2D array that contains char.


Please note that this is not a homework site. We won't do your homework for you. The purpose of homework is that you learn by doing. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.

We didn't see your attempts to solve this problem yourself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again.
Topic archived. No new replies allowed.