How would I deallocate the 2D array of pointers allocated with this code:
board = new Node ** [r];
//creates a column for each element in the row
for(int i = 0; i < r; i++) {
board [i] = new Node * [c];
}
It's a 2D array of pointers and for what I have so far in the destructor, it points to the board = line....
Board is a Node ***, like it should be.