Hi,
I have an array of pointers:
I have a problem cleaning them up...Code:Bitmap* g_pTank[3];
The game crashes when closing down. In particular due to the last line of code:Code:for (int i = 0; i < 3; ++i) { delete []g_pTank[i]; } delete []g_pTank;
Code:delete []g_pTank;