multidimension arrays in C++
<p>A little confusing about multidimension arrays in C++, I did as《C++ primer》said to initialize a multidimension array, but still got a syntax error.Here is the code below, quite simple codes everybody will say, thanks a lot for any help:</p>

<pre><code>#include "Algorithm.h"

template&lt;int size&gt;
void strassen_matrix_multiplication(int (*A)[size], int (*B)[size], int (*C)[size]){
  int n = size / 2;

  int P1[n][n];
  int (*pp1)[n] = P1;    //xcode pointed at this line showing a message "can not initialize a variable of type int(*)[n] with an lvalue of type int[n][n]"
}
</code></pre>
