You are not logged in.
Pages: 1
i want to free some memory from deleting a certain class:
cObject* a=new cObject();
delete a;
does 'delete' call the destructor of object a and does a then point to NULL?
Thanks in advance,
billy
Offline
1. it does call the destructor of given object
2. a is not NULL, you need to set it on your own
Offline
thanks
Last edited by billy (2007-05-13 15:34:57)
Offline
Pages: 1