Hi guys! I need help for the Data Structure class (C++) i needto provide implementation of the following methods for polynomialclass with Dynamic Array(make sure you use Linux or terminal, usingVisual Studio will cause lots of error):
- Destructor
- Add
- Subtract
- Multiply
- Derive (extra credit )
- Evaluate (extra credit )
Purpose
The goal of this lab is to practice dynamic memory with a simpleclass.
Design
This Polynomial class will store the coefficients of a onevariable polynomial in a dynamically created array. This class hastwo data members:
size_t _degree; float* _coefficients;
It is straightforward to see what they represent.
PayPal Gateway not configured
PayPal Gateway not configured