I am expected to create a simple c++ program that have a class named polynomial. It will create dynamic array has 6 data in it and every ones index is exponent of the term and its value is coefficient. Everything is good till I face with that: "a member function overloaded + operator (prefix) which will find and return the derivative of the polynomial ".
There,I really could not understand what expected from me to do.In constructor I set my array size to 6 as I will be used. For example; while run-time ,I will command the polynomial like:7.4x^5+3.1x^2-10.2x+14.9 and it will give me the derivative of it. Exactly what I am asking that not the all codes down but the logic with that + operator overloading.Apart from it I have no problem with my program.