You are tasked with implementing the myTunes application’s interface. Your progr
ID: 3625202 • Letter: Y
Question
You are tasked with implementing the myTunes application’s interface. Your program
should read in from a file called library.txt the specifics of 25 songs – the name of the
song, the artist of the song, the album the song comes from, the minutes and seconds of the song.
At the beginning of your program, the songs should be printed out in the order in which they were read from the file (unsorted).
You are to present the following options for sorting the songs – by song name, artist
name, album name, or time. You will need to allow the user to choose to sort in
ascending or descending order.
Additionally, you will need to allow for searching. Allow the user to type in the name of a song, artist, or album. If there is a match, print out the songs that match the criteria. If there is no match, print out a message to that effect. You may not use any predefined libraries or functions for searching or sorting.
Requirements:
You must use a class called myTunes. This class has five data attributes – song name,
artist name, album title, minutes, and seconds. You must have getters and setters that
address these.
Other methods for this class (at minimum): display – prints out a track, in order of song name, artist name, album name, and time (mm:ss); and assign – takes the contents of an object of myTunes and assigns it to the object calling assign.
Outside of the class definition, you’ll need functions to address the following: searching, sorting, reading data from the file, menu, and printing of tracks. You may find writing a swap function particularly useful, too.
You’ll need some kind of array to handle the data.
thanks any questions just send me a message also I will add time as needed
Explanation / Answer
Check this link, it includes many files that is require for Media player, so I am just mentioning the link OK. Don't forget the high rates.
http://www.codeproject.com/KB/cpp/media_player.aspx
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.