Question: LAB * : Program: Playlist. Step 1 : Create three files to submit and build the PlaylistNode class.PlaylistNode.h - Class declarationPlaylistNode.cpp - Class definitionmain.cpp -

LAB*: Program: Playlist. Step 1: Create three files to submit and build the PlaylistNode class.PlaylistNode.h - Class declarationPlaylistNode.cpp - Class definitionmain.cpp - main() functionBuild the PlaylistNode class per the following specifications. Note: Some functions can initially be function stubs (empty functions), to be completed in later steps.Private data membersstring uniqueID - Initialized to "none" in default constructorstring songName - Initialized to "none" in default constructorstring artistName - Initialized to "none" in default constructorint songLength - Initialized to 0 in default constructorPlaylistNode* nextNodePtr - Initialized to 0 in default constructorDefault constructor (1 pt)Parameterized constructor (1 pt)Public member functionsGetID()- AccessorGetSongName()- AccessorGetArtistName()- AccessorGetSongLength()- AccessorGetNext()- AccessorInsertAfter(PlaylistNode* nodePtr)- Mutator (1 pt)SetNext(PlaylistNode* nodePtr)- Mutator (1 pt)PrintPlaylistNode()- Outputs uniqueID, songname, artistName, and songLength based on the format example below.Ex. of PrintPlaylistNode output:

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 Programming Questions!