Lecture 4 - Slide 11 : 40
Destructors

Destructors are essential for resource management purposes in C++

Most classes do not need destructors

Destructors are called implicitly

point.h
Class Point with a destructor.
point.cc
Implementation of the destructor that reveal its activation.
prog2.cc
Illustration of destructor activation when automatic variables go out of scope .
program-output
Actual program output.