Advertisement
Guest User

polynomial.cpp

a guest
Mar 27th, 2015
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.56 KB | None | 0 0
  1. /*
  2.     File: polynomial.cpp
  3.     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.
  4. */
  5.  
  6. #include <iostream>
  7. #include "Polynomial.h"
  8. using namespace std;
  9.  
  10. int main()
  11. {
  12.     Polynomial test;
  13.     test.insert_polynomial();
  14.     test.return_polynomial();
  15.     Polynomial test2(test);
  16.     test2.return_polynomial(); // Should output the same polynomial that was inputted in test.
  17.  
  18.     return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement