BabyFace
asked on
User Defined Array Size
int * aPointer;
aPointer = new int[10][10];
Why won't it let me assign a multi-dimensional array?
aPointer = new int[10][10];
Why won't it let me assign a multi-dimensional array?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Good job.
Thanks.
Thanks.
assigned to an entity of type "int *"
aPointer = new int[10][10];
^
//try
int (*aPointer)[10];