tiles = new Tile **[num_bands];
for( int i = 0 ; i < num_bands ; i++ )
tiles[i] = new Tile *[num_spokes];
for(int i=0; i < num_bands; i++){
for(int ii=0; ii < num_spokes; ii++){
tiles[i][ii] = 0;
}
}
delete tiles[1][1];
When I delete a tile, tiles [1] [1] still contain the address. I thought it should be a null pointer or 0x0, but it is not. Am I deleting it wrong?
source
share