Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 Instructions Read the problem description below. Get the files for this assignment. Compile the program as is to familiarize yourself with it
Instructions
Read the problem description below.
Get the files for this assignment. Compile the program as is to familiarize yourself with it You will receive error messages. Read them. They are hints as to what is missing from the current code.
Your focus in this assignment will on the implementation of the Polynomial class in files polynomial. and polynomial.cpp This class stores the set of coefficients that define a polynomial eg:
Although the immediate use of Polynomial is in support of this polyfactor program, we anticipate the possibility that Polynomial may be reused in other future projects, so we want to make sure that it is designed and implemented to facilitate that reuse.
You must not change the private data members in polynomial. hYou may, if you wish, add additional private function members if doing so would aid you in completing the implementation.
You may need to change some of the public functions in polynomial. h but keep in mind that the Polynomial class must continue to compile with the other code in this program.
Your code will be evaluated both on its ability to function correctly within the polyfactor application the systems tests and on its ability to pass the various unit tests provided.
You are not limited to using my system tests. It's always a good ide ato run the program on data of your own choosing as well.
In the test report,
Tests with names beginning with sm are systems tests, including checks for memory leaks and other memory errors.
Other tests with names beginning with s are systems tests, ignoring memory leaks.
Tests with names beginning with um are unit tests, including checks for memory leaks and other memory errors.
Other tests with names beginning with u are unit tests, ignoring memory leaks.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started