Hi,
Simple question I guess:
Code:
double *array = new double[variableSize]; // WORKS FINE!
now I want to do:
Code:
double *array[3] = new double[variableSize][3];
I get the error:
cannot convert from 'double (*)[3]' to 'double *[3]'
How do I solve this error?
Many thanks in advance for your much appreciated help.