explicit call to destructor

How can we expicitly call the destructor to destroy an object in the middle of the program in C++?

Replies

  • debu
    debu
    @sowjanya333: Use the "delete" keyword to explicitly call the destructor.

    Regards,

    Debu ๐Ÿ˜€

You are reading an archived discussion.

Related Posts

Hi, We have got a project in which we have got a data structure (.bin file) and we are supposed to call it in matlab. how do we do that...
This is a great feature! ๐Ÿ˜€
hi Friends My name is Rajasegar(RS).i am doing my BE in electronic and communication.And interested in research.....Can u friends Help me in my Ideas PLS ๐Ÿ˜€
i have completed my btec on may 2009 with an aggregate of 69.7%... i would like to work with some good companies from gulf region..... which are the companies that...
hi every body, i have to make a paper presentation and i am hunting for a topic.๐Ÿ˜• i have presented papers on simpler topics like green building,waste water treatment.i would...