Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- File: polynomial.cpp
- Description: Chapter 13 7th edition Programming Project 3: Design and implement a class whose objects represent polynomials. Class declaration and member function definitions can be found in Polynomial.h and Polynomial.cpp.
- */
- #include <iostream>
- #include "Polynomial.h"
- using namespace std;
- int main()
- {
- Polynomial test;
- test.insert_polynomial();
- test.return_polynomial();
- Polynomial test2(test);
- test2.return_polynomial(); // Should output the same polynomial that was inputted in test.
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement