I thought that the delete command would free up memory I allocated. Can someone explain why it seems I still have the memory in use after delete?
class Test { pu
Dereferencing a pointer to an object that has been deleted is undefined. The memory for that object probably hasn't been overwritten yet so your object is still there (If it works at all).