Also C++ coding problem Just need to work in Codeblock

Question

Also C++ coding problem. Just need to work in Codeblock.

#include quot;battleship.hquot;
battleShip::battleShip(string new_name)
{
name = new_name;
size = 0;
hits = 0;
}
battleShip::~battleShip(){}
void battleShip::setShipName(string new_Name)
{
name =…
Engineering Technology