Why does not this code compile with VC++ 15 in visual studio 2008?
Errors: C2057: expected constant expression, C2466: cannot allocate an array of constant size 0.
void foo(int a, int b)
{
double arr[a][b]
...
}
Although it works fine in GCC 4.4. I need compatibility between compilers.