A very basic question

what does CRT do when a malloc is done? how the CRT heap manager works
in conjunction with virtual memory manager?

Best Regards
Ashish Goel
"Think positive and find fuel in failure"
+919985813081
+919966006652


On Sun, Aug 15, 2010 at 10:15 PM, rajat ahuja <catch.rajatah...@gmail.com>wrote:

> yup callin destructor ,, deallocate ,,,,,,,, memory of resources allocated
> by object
> like heap memory of pointer ,,
>
> On Sun, Aug 15, 2010 at 3:58 PM, amit <amitjaspal...@gmail.com> wrote:
>
>> I have read that Delete is more safer than free as Delete calls the
>> destructor of the object but i dont get whats the reason for calling
>> the destructor if anyways it want to deallocate the memory.
>> Does calling the destructor serves any other purpose??
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to algoge...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algoge...@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to