destructor « Class « C++ Tutorial






9.3.destructor
9.3.1.A simple constructor and destructor.
9.3.2.Close stream in destructor
9.3.3.virtual destructor methods
9.3.4.Demonstrating the order in which constructors and destructors are called.