|
|
|
|
Is there a way to remove an array entirely? |
You can not delete the array because you did not allocate it in the heap. You can delete elements of the array of type Array * if they were allocated in the heap. It can be done for example the following way for ( int i = 0; i < 100; i++ ) delete array2[i]; |
Is there a way to remove an array entirely? Sure. Allow the ClassOps object to expire. |