/* Introduction to header file. */ #ifndef HWK_POLY_H #define HWK_POLY_H /*this file has to end with #endif */ #include using namespace std ; class Poly { private: double * coeff; //a[0] double eval_point ; int n; /*private member variables only to be accessed by the 'public' members of the class to avoid unintended destruction by user. */ public: Poly(); Poly(int _n); void Print(); double zero_derivative(); double first_derivative(); }; //class declaration end. #endif