This project showcases an implementation of a polynomial data type in C++. It allows addition, subtraction, comparison, assignment, and other operations on polynomials. The full list of operations are listed in the screenshot above. For that to work, there was a heavy use of operator overloading. A polynomial like this "4x^2-3x^1+7" would be treated as an object (lets call it "p1") that we can use the above operations on with a different polynomial. For example, if we had another polynomial "p2" we could add (i.e. p1+p2), subtract (i.e. p1-p2), compare, (i.e. p1>p2), or assign (p1=p2) the two polynomials like we would do with integer variables. Download the code and try it out yourself.
You can find the full assignment here.