Class Operations

38
1661 reads

February 26, 2013

Destructor


This example demonstrates tracing the destructor.

44
1675 reads

February 25, 2013

ExercisingDestructor


This example demonstrates the destructors.
50
1651 reads

February 25, 2013

ReferencesInClasses


This example shows references in action. In this example, all Box objects are created through reference variables. void TruckLoad::addBox(Box& rBox) { ........ ...... ... .
39
1714 reads

February 23, 2013

CopyConstructor


This example demonstrates copy constructor.
45
1843 reads

February 22, 2013

LinkedLists


This example demonstrates the implementation of a linked list of Box objects.