Top "Delete-operator" questions

In the C++ programming language, the delete operator calls the destructor of the given argument, and returns memory allocated by new back to the heap.

What is the correct way to delete char**

I have a char**, basically an array of strings, that I need to delete. What is the correct way of …

c++ pointers delete-operator
What does Visual Studio do with a deleted pointer and why?

A C++ book I have been reading states that when a pointer is deleted using the delete operator the memory …

c++ pointers visual-studio-2012 memory-management delete-operator
Why doesn't delete destroy anything?

I'm playing a little with memory dynamic allocation, but I don't get a point. When allocating some memory with the …

c++ memory new-operator delete-operator
Deleting a null pointer

Possible Duplicate: Is there any reason to check for a NULL pointer before deleting? I often see the following in …

c++ delete-operator null-pointer