I had a very quick question about dynamic multidimensional arrays.
If I were to create an array like this code, how would I go about cleaning it up?
Would I just call delete it normally, or would I have to do something special?Code:int **forest = new int *[10]; for (int i = 0; i < 10; i++) { forest[i] = new int[4]; }
Code:delete [] forrest;