subject

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 (Same as Project 4)
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:
Stereo Hearts;Gym Class Heroes;3;34;The Papercut Chronicles II
Counting Stars;OneRepulic;4;17;Native
The ';' is used as a delimiter or field separator. Each record ends with a new line character. Also the above sample data came from my teen son, not a reflection of your instructor’s music taste 
Some Implementation Requirements: (Different from Project 2!!!)
1. Use class named Song to model task.
2. Use class named SongList to model the collection of tasks.
3. Use linear linked list to model SongList. Keep track of both head and tail of the linear linked list.
4. The linear linked list should be sorted by song title. Please don't use sorting algorithms for this. To make the list sorted, you simply insert the song at the correct position when you add it.
5. Use dynamic character array to model the strings in Song, such as artist and title. The character array should be the exact size as needed, e. g "CS162" should use an charcter array of size 6 including '\0'.
6. Use destructor to deallocate the dynamic memory for the object.
7. Make sure your program is "memory-leak-free" by using valgrind
valgrind --tool=memcheck --leak-check=full executable-file
8. When using class, please make sure you encapsulate the data which means make all the instance data member private and provide accessor methods and mutator methods to access and manipulate the data.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:30
List the five on-board vehicle subsystems
Answers: 1
question
Computers and Technology, 23.06.2019 01:40
You have a linux system that has a 1000gb hard disk drive, which has a 90gb partition containing an ext4 filesystem mounted to the / directory and a 4gb swap partition. currently, this linux system is only used by a few users for storing small files; however, the department manager wants to upgrade this system and use it to run a database application that will be used by 100 users. the database application and the associated data will take up over 200gb of hard disk space. in addition, these 100 users will store their personal files on the hard disk of the system. each user must have a maximum of 5gb of storage space. the department manager has made it very clear that this system must not exhibit any downtime as a result of hard disk errors. how much hard disk space will you require, and what partitions would you need to ensure that the system will perform as needed? where would these partitions be mounted? what quotas would you implement? what commands would you need to run and what entries to /etc/fstab would you need to create? justify your answers.
Answers: 3
question
Computers and Technology, 23.06.2019 06:30
To become an audio technician, the most successful tactics might include the following. (select all that apply). learning how to persuade other people gaining different types of experience in audio technology learning as much as possible about art history establishing a reputation as a reliable professional
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
Does read theory have answers keys ?
Answers: 1
You know the right answer?
You are asked to write an app to keep track of a relatively small music library. The app should loa...
Questions
question
Mathematics, 07.07.2020 14:01
question
Mathematics, 07.07.2020 14:01
question
Mathematics, 07.07.2020 14:01
question
English, 07.07.2020 14:01
question
Mathematics, 07.07.2020 14:01
Questions on the website: 13722362