I have found some solutions but none seem to compile right, I am completely lost
ID: 641463 • Letter: I
Question
I have found some solutions but none seem to compile right, I am completely lost!!!
Develop the class Polynomial. The internal representation of a Polynomial is an array of terms. Each term contains a coefficient and an exponent. The term: 2x^4 has the coefficient of 2 and the exponent 4. Develop a complete class containing proper constructor and destructor functions as well as set and get functions. The class should also provide the following overloaded operator capabilities: Overload the addition operator (+) to add two Polynomials. Overload the subtraction operator (?) to subtract two Polynomials.
I don't need a complete program I need a Class that does the following: Develop a complete class containing proper constructor and destructor functions as well as set and get functions. The class should also provide the following overloaded operator capabilities: Overload the addition operator (+) to add two Polynomials. Overload the subtraction operator (?) to subtract two Polynomials.
Explanation / Answer
Hope it may helps you.....