|
-
February 25th, 2007, 02:03 PM
#1
C++ Heap Memory Question regarding Delete
Quick question:
When I call delete, it returns that object's memory to the heap, right?
That being true, then when a program exits, then is delete called for every heap allocation made in the program, or does this need to be done manually (via a linked list or just keeping track of the pointers)?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|