The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 6 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
For this assignment you will write a digital music manager (DMM).
Your DMM program must have a text-based interface which allows the user to select from a menu of options including: load, store, display, insert, delete, edit, sort, rate, and exit. The A????1loadA????1 option reads records from a file into a dynamic doubly linked list. The A????1storeA????1 command writes records, in a dynamic doubly linked list, to a file. A????1DisplayA????1 prints records, and its attributes to the screen. This command must print either all records or a single record based on a search field. A search field may be any of the attributes belonging to a record. If a search field matches multiple records, then print the first match to the screen. The A????1insertA????1 option collects information for each new song record and attributes from the user. The new song record must be placed into the list based on a selected sort option. By default, songs are inserted into the list alphabetically (A????1aA????1 A????1 A????1zA????1) according to artist. Other possible A????1sortA????1 options include alphabetical ordering based on genre, or increasing numeric value based on rating. A????1DeleteA????1 removes a record from the list. Deletion is based on song title. The A????1editA????1 option must allow the user to find a record in the list with any search field. The user may modify any of the attributes in the record. The A????1rateA????1 action must allow the user to assign a value of 1 A????1 5 to a song; 1 is the lowest rating and 5 is the highest rating. Lastly, A????1exitA????1 saves the most recent list to a file.
*** Please write the program in C language
A record is a struct type which consists of the following attributes:
Artist A????1 a string
Album title A????1 a string
Song title A????1 a string
Genre A????1 a string
Song length A????1 a struct type consisting of seconds and minutes, both integers
Number times played A????1 an integer
Rating A????1 an integer (1 A????1 5)
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll