Question: The task is to design a class which implements the concept of TV Manger utilizing the concepts of linked list and perform certain operations on

The task is to design a class which implements the concept of TV Manger utilizing the concepts of linked list and perform certain operations on this list. You have to create the TV Manager Class, which can perform all the listed tasks.

C++ program Tasks Using the class playlist develop a class that has the following methods: 1. A method (addPlaylist method) that allows the user to add a new playlist to a linked list without replacing any other lists either at start, at end or before or after a certain list. 2. A method that allows the user to replace an existing playlist with a new playlist to the linked list (name it replacePlaylist). 3. A method that allows the user to remove an existing playlist from the linked list (name it deletePlaylist - in the method ask the user for some unique identifier to remove only the intended playlist). 4. A method that prints details of all songs in a specific playlist (name it printPlaylist). 5. A main method that demonstrates the methods above.

The task is to design a class which implements the concept of

Note: No changes can be made to basic given structures and class

Sample Code: struct list{ int listid; string listname; list *next; list *prev; song *first; }; struct song string name; string genre; string singer; string date_of_release; song *ahead; song *recent; }; class playlist private: list *head; public: list() { head=NULL; } }

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!