Polynomial operator + (const Polynomial& p);
//Adds existing Polynomial to p, returning the result
So because we can't change the value of a const, is there a way to make a copy of this p to allow me to access the functions of p?
Sorry guys at work and quite display the entire program, but in Poly.H in the private field it reads: private: List < Term > poly
So in PolyTest.cpp
If I need two polynomials p_add = poly1 + poly2
I need to write the function in the operator+ to add like terms. Hope this is helpful.