#include using namespace std; class NumberArray { private: double *aPtr; int arraySize; public: NumberArray(int size, double value); // The destructor is commented out to avoid problems with // the default copy constructor. /********* ~NumberArray() { if (arraySize > 0) delete [ ] aPtr; } *********/ void print(); void setValue(double value); };