C++ Polynomial with linked list
$30-75 USD
货到付款
Design and implement a class whose objects represent polynomials. The polynomial will be implemented as a linked list. Each node will contain an int value for the power of x and a value of any type for the corresponding coefficient. That class operations should include addition, subtraction, multiplication and evaluation of a polynomial. Overload operators +, -, and * for addition, subtraction and multiplication. Include four constructors: a default constructor, a copy constructor, a constructor with a single argument of any type that produces the polynomial that has only one constant term that is equal to the constructor argument, and a constructor with two arguments of any type and int that produces the one-term polynomial whose coefficient ad exponent are given by the two arguments, respectively. The program should be able to evaluate a single polynomial formula with the input and should be able to read further inputs - 1st input, 1st polynomial, 2nd input, 2nd polynomial, 3rd input a value of x, 4th input, the type of arithmetic operation. The type of coefficient may be any type, int, double, float, etc. Need an executable file named poly to test program properly for any input formulas/values/operations as above.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased. 3)This is for a beginning c++ class so make it as simple as possible.
## Platform
It needs to run on a linux system.
## Deadline information
Must be completed by Thursday, December 19, 2002 by 9:00 a.m. EDT
项目ID: #2892690