a file SongCSV.csv, which contains comma separated data on separate lines. read that file and create a struct for each song that includes:
- Artist Name
- Song Title
- Album Name
- Duration
- Year of Release
- Hotttnesss
-
Open the csv file
-
Extract lines, one at a time.
Put relevant fields (see above) into a struct which is then put into an array of structs. Please note that you are required to allocate memory for structs dynamically.
-
Sort the array of structs by song name. (You may have been doing this in step 2)
-
Create user interface to search for songs by song name Display relevant data to user in a neat format Exit only when user enters ZZZ (not 'Quit' or 'q' or 'Q' or 'exit' or 'Exit' or 'EXIT' or 'Leave" or anything other than ZZZ)