error: request for member...which is of non-class type
<p>I'm getting an error that says: </p>

<blockquote>
  <p>test.cpp:234:134: error: request for member 'possibleNumbers' in '*
  arr', which is of non-class type 'test* [9]'</p>
</blockquote>

<p>In the function: </p>

<pre><code>bool test::testTheNumber(test *arr[9][9], int testNumber, int row, 
                         int column, int      counter)
</code></pre>

<p>At line:</p>

<pre><code>for(int i = 0; i &lt; 9; i++)
 if(arr-&gt;possibleNumbers[i] != 0)
...
</code></pre>

<p>My class looks like: </p>

<pre><code>class sodoku
{
  private:
  int number;
  int counter;
  int possibleNumbers[9];
  public:
  void copy(int array1[9], int array2[9]);
  void possibleNumbersCheck(test *arr[9][9], int testNumber, int row, int column);
  bool rowTest(test *arr[9][9]);
  bool columnTest(test *arr[9][9]);
  bool boxTest(test *arr[9][9]);
  int getNumber();
  bool rowIsValid(test *arr[9][9], int testNumber, int row);
  bool columnIsValid(test *arr[9][9], int testNumber, int column);
  bool boxIsValid(test *arr[9][9], int testNumber, int row, int column);
  bool testTheNumber(test *arr[9][9], int testNumber, int row, int column, int      counter);
  void possibleNumbersCheck(test *arr[9][9]);
  test(char a);
  test();
</code></pre>

<p>};</p>

<p>Could anyone help me? Thanks!</p>
