Hello guys here's the problem. I want to delete the objects within a vector, although I'm not sure whether I should clear the vector afterwards. Is it really necessary?
Code:for (i = 0; i < allSales.size(); i++) delete allSales[i]; allSales.clear(); //Is this step necessary?