Ok, thank you! I appreciate it. :)
Type: Posts; User: Lawn Gnomusrex
Ok, thank you! I appreciate it. :)
Ok, so I would have to do this?
for(int i = 0; i < 10; i++) {
delete [] forest[i];
}
delete [] forest;
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?
int **forest = new int *[10];
for (int i...