Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The code should be in C++ User Array At least 4 function You are asked to write an app to keep track of a relatively

The code should be in C++

User Array

At least 4 function

You are asked to write an app to keep track of a relatively small music library. The app should load song information from a data file once the app is started. It should allow user to view, add, remove, and search for songs. The app should save the data back to the same data file when the program exits. What Your Program Should Do: Write an interactive text based menu interface (using a loop) that will allow the user to Enter information for a new song Display information for all the songs in the database with index for each song Remove a song by index Search for songs by a certain artist Search for songs by a certain album Quit For each song, you need to keep track of: title artist duration album Allow the program to keep looping until user wants to quit. When the program starts, it should load the tasks from external file ("songs.txt") into memory. When user enters information about the new song, the program needs to read them in, save them in memory and eventually write them to the external data file ("songs.txt"). The file format could look like:

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions