Description: Develop class Polynomial. The internal representation of a Polynomial is an array of terms. Each term contains a coefficient and an exponent. The term
2x4
has the coefficient 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.
Overload the assignment operator to assign one Polynomial to another.
Overload the multiplication operator (*) to multiply two Polynomials.
Overload the addition assignment operator (+=), subtraction assignment operator (-=), and multiplication assignment operator (*=).
To Search:
File list (Check if you may need any files):
Polynomial
..........\Debug
..........\.....\CL.read.1.tlog
..........\.....\CL.write.1.tlog
..........\.....\Polynomial.exe
..........\.....\Polynomial.exe.embed.manifest
..........\.....\Polynomial.exe.embed.manifest.res
..........\.....\Polynomial.exe.intermediate.manifest
..........\.....\Polynomial.ilk
..........\.....\Polynomial.lastbuildstate
..........\.....\Polynomial.log
..........\.....\Polynomial.obj
..........\.....\Polynomial.pdb
..........\.....\Polynomial_manifest.rc
..........\.....\driver.obj
..........\.....\link-cvtres.read.1.tlog
..........\.....\link-cvtres.write.1.tlog
..........\.....\link.1324-cvtres.read.1.tlog
..........\.....\link.1324-cvtres.write.1.tlog
..........\.....\link.1324.read.1.tlog
..........\.....\link.1324.write.1.tlog
..........\.....\link.3180-cvtres.read.1.tlog
..........\.....\link.3180-cvtres.write.1.tlog
..........\.....\link.3180.read.1.tlog
..........\.....\link.3180.write.1.tlog
..........\.....\link.5352-cvtres.read.1.tlog
..........\.....\link.5352-cvtres.write.1.tlog
..........\.....\link.5352.read.1.tlog
..........\.....\link.5352.write.1.tlog
..........\.....\link.6344-cvtres.read.1.tlog
..........\.....\link.6344-cvtres.write.1.tlog
..........\.....\link.6344.read.1.tlog
..........\.....\link.6344.write.1.tlog
..........\.....\link.read.1.tlog
..........\.....\link.write.1.tlog
..........\.....\mt.read.1.tlog
..........\.....\mt.write.1.tlog
..........\.....\rc.read.1.tlog
..........\.....\rc.write.1.tlog
..........\.....\vc100.idb
..........\.....\vc100.pdb
..........\Polynomial.cpp
..........\Polynomial.h
..........\Polynomial.sdf
..........\Polynomial.sln
..........\Polynomial.suo
..........\Polynomial.vcxproj
..........\Polynomial.vcxproj.filters
..........\Polynomial.vcxproj.user
..........\driver.cpp
..........\ipch
..........\....\polynomial-a6b518a5
..........\....\...................\polynomial-b78aae90.ipch