Question: MyList class DOWNLOAD link https://drive.google.com/open?id=0B356j2_fy47VMEl3dHdYS3hYb3c C++ QUESTION!!! SHOW THAT THE CODE WORKS WITH THE GIVEN QUESTION!!! Problem 1 (10 points) Download the MyList class from

MyList class DOWNLOAD link https://drive.google.com/open?id=0B356j2_fy47VMEl3dHdYS3hYb3c

C++ QUESTION!!! SHOW THAT THE CODE WORKS WITH THE GIVEN QUESTION!!!

MyList class DOWNLOAD link https://drive.google.com/open?id=0B356j2_fy47VMEl3dHdYS3hYb3c C++ QUESTION!!! SHOW THAT THE CODE WORKS

Problem 1 (10 points) Download the MyList class from the Oct 26 lecture. Update the class to support the following features: (a) (1 point) An "erase" operation that deletes all elements in the list and makes it empty. (b) (2 points) An "is_duplicate" operation that checks if the input value is duplicate (meaning there are multiple occurrences of the input value in the list). The function should return 0 if it is not a duplicate; otherwise it should return a total count of the number of occurrences of the input value in the list. (c) (1 point) A "remove all" operation that removes all occurrences of a particular value (remember that our list can contain duplicates) (d) (1 point) An "is_full" function that returns true if the list is full; false otherwise. (e) (1 point) An "is_empty" function that returns true if the list is empty; false otherwise. (f) (2 points) A copy constructor (g) (2 points) An overloaded assignment operator Demonstrate that your code works using a main function

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!