Question: #include helpers.h / / should always use all songs when prompting to add to playlist void promptSongSelection ( Playlist allSongs ) { cout <
#include "helpers.hshould always use all songs when prompting to add to playlist void promptSongSelectionPlaylist allSongs cout allSongs; cout allSongs.getNumSongsLoaded Exit Program" userModType; whileuserModType userModType ; systemclear; switchuserModType case : exit deleteSongFromPlaylistplaylist; break; case : exit addSongToPlaylistplaylist all; break; case : exit false; break; case : exit true; break; ifplaylistgetFirstSong nullptr writePlaylistToFileplaylist; return exit; bool deletePlaylistPlaylist& playlistdeletes all songs in playlist then deletes the playlist object dont forget to remove playlist text file from directory as well bool manageExistingPlaylistsconst Playlist& all, Playlist& selectedPlaylistthis is the main menu from which most major choices are made each time this function is called a new array of playlists and fills each object with the relevant data an option to return to main menu should be provided an option to exit program directly should be provided user should select what playlist they want to
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
