This works:
int * temp = new int [10];
but this won't work:
int * temp = new int[10][2];
I don't understand why. When I try to do the latter I get this error:
"Cannot convert 'int[*][2]' to 'int*' in initialization.
I would also like to be able to enter in values to the array like this:
temp[0][1] = 1;
I'm sure if that's the right syntax yet because I can't get the array to be initialized properly. What am I doing wrong?