Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE DO IN C++ There is a file of Ventures albums on the internet. Each entry has the following form: Name of album Release Date

PLEASE DO IN C++

There is a file of Ventures albums on the internet. Each entry has the following form: Name of album Release Date Genre from 11 to 12 names of songs (in cut number order) An album separator line is made up of equal signs Your assignment is: for each album,

1. read in (from the file) the Album Name (string), the Release Date (string), the Genre (string ) and songs (array of string),

2. Sort the albums by Album Name alphabetically,

3. Sort the songs alphabetically,

4. Print the Album Name, Release Date, and Print the list of songs (alphabetically).

Some Sample Output: Walk, Don't Run Released 1960 Genre Instrumental rock, Surf

9. Caravan

3. Home

12. Honky Tonk

1. Morgen

4. My Own True Love (Tara's Theme)

7. Night Train

8. No Trespassing

2. Raunchy

10. Sleepwalk

11. The McCoy

5. The Switch

6. Walk, Don't Run

input File:

Walk, Don't Run Released 1960 Genre Instrumental rock, Surf 1. Morgen 2. Raunchy 3. Home 4. My Own True Love (Tara's Theme) 5. The Switch 6. Walk, Don't Run 7. Night Train 8. No Trespassing 9. Caravan 10. Sleepwalk 11. The McCoy 12. Honky Tonk ================================== Another Smash!!! Released 1961 Genre Surf rock 1. (Ghost) Riders in the Sky (2:28) 2. Wheels (1:55) 3. Lonely Heart (2:10) 4. Bulldog (2:20) 5. Lullaby of the Leaves (1:58) 6. Beyond the Reef (3:05) 7. Raw-Hide (2:29) 8. Meet Mister Callahan (2:20) 9. Trambone (2:04) 10. Last Date (2:13) 11. Ginchy (1:40) 12. Josie (2:04) ================================== The Ventures Play Telstar and the Lonely Bull Released 1963 Genre Surf rock 1. Telstar (2:37) 2. The Lonely Bull (2:11) 3. Mexico (2:26) 4. Calcutta (2:20) 5. Apache (3:08) 6. Never on Sunday (2:14) 7. Tequila (2:44) 8. Green Onions (2:05) 9. Percolator (2:14) 10. Red River Rock (2:15) 11. Let There Be Drums (2:20) 12. Last Night (2:29) ================================== Hawaii Five-O Released 1969 Genre Instrumental 1. Hawaii Five-O (1:59) 2. Lovin' Things (2:31) 3. Galveston (2:40) 4. The Letter (2:10) 5. Don't Give in to Him (2:12) 6. Theme from A Summer Place (2:16) 7. Medley: Spooky/Traces/Stormy (4:25) 8. Medley: Aquarius/Let the Sunshine In (2:49) 9. Games People Play (2:46) 10. I Can Hear Music (2:37) 11. Dizzy (2:31)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database In Depth Relational Theory For Practitioners

Authors: C.J. Date

1st Edition

0596100124, 978-0596100124

More Books

Students also viewed these Databases questions

Question

What is the basis for Security Concerns in Cloud Computing?

Answered: 1 week ago

Question

Describe the three main Cloud Computing Environments.

Answered: 1 week ago