title: How to create a c++ constructor with 2d arrays as parameters
body: <p>I need to have a class with a 2d array used to store places on a board. But I can't make a constructor that makes this properly sets up this field.</p>
  
  <p>this is the code I get a array type un assignable error, the cell is a typedefStruct</p>
  
  <pre><code>Board::Board(waterCraft * listOfCraft, cell gameBoard[][10]) {
      this-&gt;listOfCraft = listOfCraft;
      this-&gt;gameBoard = gameBoard;
  }
  </code></pre>