norman's blog

Notes of an amnesiac.
Never stop thinking.
Find an aesthetic description.

Tuesday, June 2, 2009

Memory Management

Memory Errors
Differences Between New/Delete and Malloc/Free
Note:
  • new calls the constructor, delete calls the destructor. malloc and free do neither of these things.
  • new throws an exception on memory exhaustion, malloc returns NULL.

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home