Answered step by step
Verified Expert Solution
Link Copied!

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

1 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. h and polynomial.cpp. This class stores the set of coefficients that define a polynomial (e.g.,(:1+2x+4x3}.
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. h.(You 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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions