to yourself that
always call the constructors and destructors by creating a class with a
constructor and destructor that announce themselves through
Create an object of that class with
and destroy it with
Also create and destroy an array of these objects on the heap.
object, and fill it with
objects from Exercise 1. Observe what happens when this
object goes out of scope and its destructor is called.
a class with an overloaded operator
both the single-object versions and the array versions. Demonstrate that both
a test for
to show yourself approximately how much faster the custom
run than the global