title: error: invalid conversion from 'short unsigned int*' to 'short unsigned int'| (in c++)
body: <p>I am new to programming and I have been trying to create a program that would solve any Sudoku puzzle. However, I've been getting a lot of errors, and in this one I just can't figure out what's wrong.</p>
  
  <p>This is the code where the error is:</p>
  
  <pre><code>for (short o = indice;o&gt;=divergencias[n_diver];o--){
      N=historico[o];
      P=tabela[N];  //Line 205
      tabela[N]=0;  //Line 206
      }
      indice -= divergencias[n_diver];
      n_diver --;
      }
  </code></pre>
  
  <p>And the errors, which happened on the lines marked with comments, are:</p>
  
  <pre><code>C:\(...)\main.cpp|205|error: invalid conversion from 'short unsigned int*' to 'short unsigned int'|
  </code></pre>
  
  <p>and</p>
  
  <pre><code>C:\(...)\main.cpp|206|error: incompatible types in assignment of 'int' to 'short unsigned int [9]'|
  </code></pre>
  
  <p>I've been searching for this error, and didn't find any satisfying answer to it. Moreover, the website in which I learn what I know about programming specifies that writing something like <code>b = billy [a+2];</code> is valid. So I just can't understand what's wrong with this... </p>