//********************************
Telephone myPhone;
Telephone* myPhone2 = &myPhone;
delete myPhone2;
myPhone.blah();
//********************************
How can I use: myPhone.blah(); if the object is destroyed by the pointer? :(
What exactly is being deleted when I call:
"delete myPhone2"?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.