I declared an integer array in my header file:
int *data;
and am now trying to set the size of that array once I pull the dimensions from two textfields:
data = new int[x][y];
but Project Builder complains that 'new' is undeclared. Why doesn't this work? Any way to get around this...?
Thanks in advance,
-Dogcow "moof!"
int *data;
and am now trying to set the size of that array once I pull the dimensions from two textfields:
data = new int[x][y];
but Project Builder complains that 'new' is undeclared. Why doesn't this work? Any way to get around this...?
Thanks in advance,
-Dogcow "moof!"