Question: Using this header to file to make a polynomial linked list in c++. I need the driver and the main. 1 ifndef POLYLINKH 2 #define

Using this header to file to make a polynomial linked list in c++. I need the driver and the main.

Using this header to file to make a polynomial linked list in

1 ifndef POLYLINKH 2 #define POLYLINKH - - - - #include 5 using namespace std; 7 class Node int coef; int expon; Node* next 10 12 13 14 15 16 17 18 19 20 21 22 class LinkedList //Constructors Node) Node (int coef); Node (int coef, int expon) Node (int coef, int expon, Node* n); //Friends friend class LinkedList; 24 25 public: 26 Node* head; //Constructors LinkedList); LinkedList (const LinkedList& p1); //Copy Constuctor LinkedList); 28 //Destructor 31 32 //Mutators void Insert(int coef, int expon); 34 35 //Accessors void Output ()const; 37 //Overload LinkedList operator+(const LinkedList& p1) LinkedList operator-(const LinkedList& p1); LinkedList& operator= (const LinkedList& LL); //Assignment operator friend istream& operator>>(istream& is, LinkedList& p1); friend ostream& operator 5 using namespace std; 7 class Node int coef; int expon; Node* next 10 12 13 14 15 16 17 18 19 20 21 22 class LinkedList //Constructors Node) Node (int coef); Node (int coef, int expon) Node (int coef, int expon, Node* n); //Friends friend class LinkedList; 24 25 public: 26 Node* head; //Constructors LinkedList); LinkedList (const LinkedList& p1); //Copy Constuctor LinkedList); 28 //Destructor 31 32 //Mutators void Insert(int coef, int expon); 34 35 //Accessors void Output ()const; 37 //Overload LinkedList operator+(const LinkedList& p1) LinkedList operator-(const LinkedList& p1); LinkedList& operator= (const LinkedList& LL); //Assignment operator friend istream& operator>>(istream& is, LinkedList& p1); friend ostream& operator

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!