title: Semantics Issue: No matching function for call to 'displayBoard'
body: <p>I'm just calling a function with a 2D array as an argument. I don't see why it's telling me there's no function to call, I can see the function.
  Here's the prototype, at the beginning of my code: 
      <code>void displayBoard(int [][COLS], int);</code>
  here's the function calling displayBoard and the displayBoard function:</p>
  
  <pre><code>void playerTurn()
  {
      char board[ROWS][COLS] = {{'*', '*', '*'}, {'*', '*', '*'}, {'*', '*', '*'}};
      char row, col;
  
      displayBoard(board, ROWS);
      cout &lt;&lt; "Player X's Turn.\nEnter a row and a column to place an X.\nRow: ";
      cin &gt;&gt; row;
      cout &lt;&lt; "\nColumn: ";
      cin &gt;&gt; col;
      //clear screen
      //edit contents of 2D array
      displayBoard(board, ROWS);
      cout &lt;&lt; "Player O's Turn.\nEnter a row and a column to place an X.\nRow: ";
      cin &gt;&gt; row;
      cout &lt;&lt; "\nColumn: ";
      cin &gt;&gt; col;
      //Validate each user's move (make sure there isn't an x or o already there
      //Ask for a re-input is validation fails
  }
  
  void displayBoard(const char board[][COLS], int ROWS)
  {
      cout &lt;&lt; setw(14) &lt;&lt; "Columns" &lt;&lt; endl;
      cout &lt;&lt; setw(14) &lt;&lt; "1 2 3 " &lt;&lt;  endl;
      cout &lt;&lt; "Row 1:  " &lt;&lt; board[0][0] &lt;&lt; " " &lt;&lt; board[0][1] &lt;&lt; " " &lt;&lt; board[0][2] &lt;&lt; endl;
      cout &lt;&lt; "Row 2:  " &lt;&lt; board[1][0] &lt;&lt; " " &lt;&lt; board[1][1] &lt;&lt; " " &lt;&lt; board[1][2] &lt;&lt; endl;
      cout &lt;&lt; "Row 3:  " &lt;&lt; board[2][0] &lt;&lt; " " &lt;&lt; board[2][1] &lt;&lt; " " &lt;&lt; board[2][2] &lt;&lt; endl;
      cout &lt;&lt; endl;
  }
  </code></pre>
  
  <p>It gives me the error at both calls in the playerTurn function.
  I can't figure out what I'm doing wrong.</p>