title: C++ and recursion with arrays
body: <p>I've programmed with other languages, but now that I am learning C++, I've found a problem. I am trying to solve a problem with recursion, with a method that takes an array as an argument. I thought about using a public array, maybe, but I can't use the array either way.</p>
  
  <p>From what I've read, it seems to me that it has something to do with the memory. (I thought that, even though it consumes a lot of memory, creating it again with each call would work.)</p>
  
  <p>Here's some code:</p>
  
  <pre><code>static void FindSolution(int row, int column, bool answer[][8][8]) {
      for(int i = 0; i &lt; 8; i++) 
          //Some processing…
          bool temp = true;
          FindSolution(0, column + 1, answer[row][column] = temp);
      }
  }
  </code></pre>
  
  <p>How do I get to actually use the array? <em>Somehow</em>.</p>
  
  <p>The error:</p>
  
  <pre class="lang-none prettyprint-override"><code>error: array type 'bool [8]' is not assignable
           FindSolution(0, column + 1, answer[row][column] = temp);
  </code></pre>