Homework/HW01/MyArray.cc
MyArray::~MyArray()
{
    // call the function empty instead, so we only need to modify in 
    // one place if anything changes
    empty();
}
// Destructor. If the array is not empty, it must be deallocated.
Destructor. If the array is not empty, it must be deallocated.
Destructor . If the array is not empty it must be deallocated .
MyArray::~MyArray()
{
    empty();
}
MyArray :: ~ MyArray ( ) { empty ( ) ; }
Destructor.
Destructor .
// call the function empty instead, so we only need to modify in  // one place if anything changes