Question: Given PlayList.h please help me write PlaylList.cpp Class PlayList Your PlayList class will have a single data member ( private member variable ), a Set
Given PlayList.h please help me write PlaylList.cpp
Class PlayList
Your PlayList class will have a single data member (private member variable), a Set object called playlist_ which will store your Songs:
Set
Your PlayList will have the following operations (public member functions)
PlayList();
PlayList(const Song& a_song);
int getNumberOfSongs() const;
bool isEmpty() const;
bool addSong(const Song& new_song);
bool removeSong(const Song& a_song);
void clearPlayList();
void displayPlayList() const;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
