requires you to implement several methods for the Linked List class. I give you
ID: 3552102 • Letter: R
Question
requires you to implement several methods for the Linked List class. I give you a main program that serves as a tester for the Linked List class. The linked List class consists of two files - Node.cpp and Node.h. You are NOT to modify the main program or the Node.h . You are only to modify the Node.cpp and Node.h. You will add the prototypes of the new functions into the .h file and add the code bodies to the .cpp file.
All file your need is in the link https://www.dropbox.com/sh/zkkvhriclec59ic/BTYWlBKtgm
please just send me the Node.cpp and Node .h
and please compile the Node.cpp make sure it can be compiled .
Thank you ~~~
Explanation / Answer
//node.h
#ifndef NODE_H_INCLUDED_
#define NODE_H_INCLUDED_
class NODE;
int deletelist(NODE *l1);
void insertinorder(char a[20],NODE *q);
NODE * setintersect(NODE *l1,NODE *l2);
void equals(NODE *l1,NODE *l2);
NODE * setDiff(NODE *l1,NODE *l2);
NODE * setunion(NODE *l1,NODE *l2);
NODE * setxor(NODE *l1,NODE *l2);
NODE * reversal(NODE *l1);
NODE * listcopy(NODE *l1);
#endif
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.