Possible Duplicate:
Object destruction in C++
destructor checking in C++
I want a simple program to see how destructor works in C++?
I basically do not understand when the destructor is called.
Possible Duplicate:
Object destruction in C++
destructor checking in C++
I want a simple program to see how destructor works in C++?
I basically do not understand when the destructor is called.