Question: C++ Polynomial Project Must be written in C++ language. The header file is included and must create an implementation of the functions in a CPP
C++ Polynomial Project
Must be written in C++ language. The header file is included and must create an implementation of the functions in a CPP file as well as create a main driver CPP file to test the functions. A key part of the project is the syntax of the input/output. For example to output x^2 + 3x +5 the user has to input 1 2 3 1 5 0 0 //






header file:
#ifndef __POLYNOMIAL_H_ #define __POLYNOMIAL_H_ #include using namespace std; //template
Polynomial
CS 318 Programming Project Polynomial Template Class Design and Implementation C++ Due Date: See Blackboard. Project Implementation Constraints: Name your VS 2017 C++ project: CS318PO2YourLastName o (You will be deducted points from your project score if your VS 2017 project is not named correctly.) Project Settings: Console, x86, Debug settings. What and Where to Submit: You must zip-up the ENTIRE project folder containing your Visual Studio 2017 Project. Also, any test source files and sample data must be included. If your program does not work, please include a Word or notepad file explaining what works and what doesn't work. The file should be submitted to the Project Assessment Icon on CS 318 Blackboard site. Zipped file name: CS318PO2LastName.zip. For example, if I were to turn in this project, I would name it CS318PO2Jeffrey.zip. You are to implement single-variable polynomials using the STL template class. A single-variable polynomial, px), of degree n over a numeric type, NumType, is of the form where n e non negative integers, a, e NumType, and an #0 The a,'s are called coefficients. Each ar are called monomials (also called terms). The numeric type, NumType, can be any C++built-in numeric type (short, int, long, float, double, long double) or a class type (e.g. rational, complex) that has the following defined operators: +,-, * -,-,- , +=, , , , and template class. A single-variable polynomial, px), of degree n over a numeric type, NumType, is of the form where n e non negative integers, a, e NumType, and an #0 The a,'s are called coefficients. Each ar are called monomials (also called terms). The numeric type, NumType, can be any C++built-in numeric type (short, int, long, float, double, long double) or a class type (e.g. rational, complex) that has the following defined operators: +,-, * -,-,- , +=, , , , and
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
