questionthis program will permit the user to keep


Question

This program will permit the user to keep track of a CD or DVD collection. This can only work exclusively with either CDs or DVDs as some of the data is different-your choice. The data will be stored in a file. The data from file will be stored in a text file as records. Each CD/DVD in the collection will be represented as a class, so you will have one class that is = CD/DVD.

The CD class will be incomplete to 5 songs on that CD. So the class will need to remain an array of 5 strings for the song titles. It should also keep the length of each song and the total length of the CD. The class will also have the artist name.

The DVD class will have data members for title of the movie, the length of the movie, the year of the movie and the names of two of the main actors in the movie.

There will be a class that maintains the list of CD/DVDs. This list be able to be restricted to just 5 CD/DVDs. The listing provides methods to add a CD/DVD remove a CD/DVD and update a CD/DVD.

The program has to provide a menu for the user to be able to add, delete, update and show information in a CD/DVD.

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: questionthis program will permit the user to keep
Reference No:- TGS0444088

Expected delivery within 24 Hours