#include class Poly { public: Poly() { pol = NULL; }; // default constructor Poly(const int *p, int n); // p supplies n terms Poly operator+(Poly q); // poly addition Poly operator-(Poly q); // poly subtraction Poly operator*(Poly q); // poly multiplication unsigned deg() // degree { return(*pol); } void display(); // display host object // can not add destructor without copy constructor and = //~Poly() { delete [] pol; } //~Poly() { cout << pol << endl; delete [] pol; cout << "destructor\n"; } /* other members */ private: static void s_to_d(int* buf, const int *p); int *pol; };