when I initialize the array in this way:
const int size = 10;
int myArray;
it works well. But I have to initialize it in this way:
const int size =pow(2, Depth()+1)-1;
int myArray;
in this case it throw an error which is "expected constant expression"
What should I do??? :sad: