Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

These are the albums Nat King Cole Sings George Shearing Plays 1962 1. September

ID: 3742349 • Letter: T

Question

These are the albums

Nat King Cole Sings George Shearing Plays

1962

1. September Song

2. Pick Yourself Up

3. I Got It Bad

4. Let There Be Love

5. Azure-Te

6. Lost April

7. A Beautiful Friendship

8. Fly Me To The Moon

9. Serenata

10. I'm Lost

11. There's A Lull In My Life

12. Don't Go

13. Everything Happens To Me

14. The Game Of Love

15. Guess I'll Go Back Home

=================================

The Christmas Song

1963

1. Christmas Song

2. Deck the Hall     

3. O Come All Ye Faithful    

4. God Rest Ye Merry Gentlemen      

5. O Tannenbaum

6. O Little Town of Bethlehem

7. I Saw Three Ships

8. O Holy Night

9. Hark! The Herald Angels Sing

10. A Cradle in Bethlehem

11. Away in a Manger

12. Joy to the World

13. The First Noel

14. Caroling, Caroling

15. Silent Night

16. Buon Natale

17. All I Want for Christmas

18. The Happiest Christmas Tree

19. The Christmas Song

=================================

Nat King Cole Sings His Songs From Cat Ballou ...

1965

1. The Ballad Of Cat Ballou

2. Blue Gardenia

3. St LouisBlues

4. The Song Of Raintree County

5. In The Cool Of The Day

6. They Can't Make Her Cry

7. China Gate

8. Night Of The Quarter Moon

9. Never Let Me Go

10. Beale Street Blues

11. Haji Baba

=================================

The World Of Nat King Cole

2005

1. Smile

2. Straighten Up And Fly Right

3. Route 66

4. For Sentimental Reasons

5. Nature Boy

6. Too Young

7. Unforgettable

8. Walkin' My Baby Back Home

9. Orange Colored Sky

10. A Blossom Fell

11. Mona Lisa

12. Ramblin' Rose

13. Let There Be Love

14. L-O-V-E

15. When I Fall In Love

=================================

The Very Best Of Nat King Cole

2006

1. Stardust

2. Sweet Lorraine

3. Route 66

4. Straighten Up And Fly Right

5. For Sentimental Reasons

6. What'll I Do?

7. Morning Star

8. Penthouse Serenade

9. Candy

10. Walkin' My Baby Back Home

11. Unforgettable

12. Mona Lisa

13. Nature Boy

14. Somewhere Along The Way

15. Smile

16. A Blossom Fell

17. Can't I?

18. Let There Be Love

19. Almost Like Being In Love

20. Ballerina

21. I'm Gonna Sit Right Down

22. Let's Face The Music And Dance

23. Autumn Leaves

24. When I Fall In Love

25. That Sunday, That Summer

26. Looking Back

27. L-O-V-E

28. I Wish You Love

There is a file of Nat King Cole albums on the internet. Each entry has the

Nat King Cole Sings George Shearing Plays

1962

1. September Song

2. Pick Yourself Up

3. I Got It Bad

4. Let There Be Love

5. Azure-Te

6. Lost April

7. A Beautiful Friendship

8. Fly Me To The Moon

9. Serenata

10. I'm Lost

11. There's A Lull In My Life

12. Don't Go

13. Everything Happens To Me

14. The Game Of Love

15. Guess I'll Go Back Home

=================================

The Christmas Song

1963

1. Christmas Song

2. Deck the Hall     

3. O Come All Ye Faithful    

4. God Rest Ye Merry Gentlemen      

5. O Tannenbaum

6. O Little Town of Bethlehem

7. I Saw Three Ships

8. O Holy Night

9. Hark! The Herald Angels Sing

10. A Cradle in Bethlehem

11. Away in a Manger

12. Joy to the World

13. The First Noel

14. Caroling, Caroling

15. Silent Night

16. Buon Natale

17. All I Want for Christmas

18. The Happiest Christmas Tree

19. The Christmas Song

=================================

Nat King Cole Sings His Songs From Cat Ballou ...

1965

1. The Ballad Of Cat Ballou

2. Blue Gardenia

3. St LouisBlues

4. The Song Of Raintree County

5. In The Cool Of The Day

6. They Can't Make Her Cry

7. China Gate

8. Night Of The Quarter Moon

9. Never Let Me Go

10. Beale Street Blues

11. Haji Baba

=================================

The World Of Nat King Cole

2005

1. Smile

2. Straighten Up And Fly Right

3. Route 66

4. For Sentimental Reasons

5. Nature Boy

6. Too Young

7. Unforgettable

8. Walkin' My Baby Back Home

9. Orange Colored Sky

10. A Blossom Fell

11. Mona Lisa

12. Ramblin' Rose

13. Let There Be Love

14. L-O-V-E

15. When I Fall In Love

=================================

The Very Best Of Nat King Cole

2006

1. Stardust

2. Sweet Lorraine

3. Route 66

4. Straighten Up And Fly Right

5. For Sentimental Reasons

6. What'll I Do?

7. Morning Star

8. Penthouse Serenade

9. Candy

10. Walkin' My Baby Back Home

11. Unforgettable

12. Mona Lisa

13. Nature Boy

14. Somewhere Along The Way

15. Smile

16. A Blossom Fell

17. Can't I?

18. Let There Be Love

19. Almost Like Being In Love

20. Ballerina

21. I'm Gonna Sit Right Down

22. Let's Face The Music And Dance

23. Autumn Leaves

24. When I Fall In Love

25. That Sunday, That Summer

26. Looking Back

27. L-O-V-E

28. I Wish You Love

Explanation / Answer

#include <iostream>
#include <fstream>
#include <string.h>
#include<stdlib.h>
#define SONG 30 // Maximum number of song
#define ALBUM 20 // Maximum number of album
using namespace std;

// Class Album definition
class Album
{
// Data member to store data
string songName;
string releaseDate;
string songs[SONG];
// To store number of songs in each album
int numberOfSong;
// To store number of albums
static int record;
public:
// Default constructor definition
Album()
{
songName = releaseDate = "";
for(int x = 0; x < SONG; x++)
songs[x] = "";
numberOfSong = 0;
}// End of default constructor

// Function to read the album and songs from file and stores it in the album array of objects of Album class
void readFile(Album album[])
{
// ifstream object declared
ifstream rFile;
// To store data read from file
string stringData;

// Opens the file for reading
rFile.open("songs.txt");

// Check that file can be opened or not
// is_open() function returns true if a file is open and associated with this stream object.
// Otherwise returns false.
if(!rFile.is_open())
{
// Displays error message
cout<<" Error: Unable to open the file! ";
exit(0);
}// End of if condition

// Loops till end of file
while(!rFile.eof())
{
// Reads album name and stores it in album object's record counter index position
getline(rFile, album[record].songName);
// Reads album release date and stores it in album object's record counter index position
getline(rFile, album[record].releaseDate);
// Reads song name
getline(rFile, stringData);
// Loops till number of songs in the album
do
{
// Checks if the read data is "END" then come out of the loop
if(stringData.compare("END") == 0)
break;
// Otherwise checks if read data is "================================="
else if(stringData.compare("=================================") == 0)
{
// Increase the record counter for next album
record++;
// Come out of the loop
break;
}// End of else if
// Otherwise read data is a song
else
{
// Stores the song name in album object's record counter index position
// songs number of songs index position
album[record].songs[album[record].numberOfSong] = stringData;
// Increases the number of songs counter by one
album[record].numberOfSong++;
// Reads next data
getline(rFile, stringData);
}// End of else
}while(1); // End of do - while loop
}// End of while loop
// Increases the number of albums record counter by one
record++;

// Close the file
rFile.close();
}// End of function

// Function to display all the albums information
void displayAlbum(Album album[])
{
// Loops till number of albums
for(int x = 0; x < record; x++)
{
// Displays album name and release date
cout<<" Album Name: "<<album[x].songName<<" Date: "<<album[x].releaseDate;
// Displays number of songs in the album
cout<<" Number of songs: "<<album[x].numberOfSong<<endl;

// Loops till number of songs in the album
for(int y = 0; y < album[x].numberOfSong; y++)
// Displays each song in the current album at x index position
cout<<album[x].songs[y]<<endl;
}// End of for loop
}// End of function

// Function to sort album data
void sortData(Album album[])
{
// Temporary object for swapping
Album temp;
// Loops till number of albums
for(int x = 0; x < record; x++)
{
// Loops till number of albums minus outer loop value minus one
// Because after completion of each inner loop one recored is sorted so - x
for(int y = 0; y < record - x - 1; y++)
{
// Checks if the album name stored at y index position is greater than
// the album name stored at next to y index position
if(album[y].songName.compare(album[y+1].songName) > 0)
{
// Swapping process
temp = album[y];
album[y] = album[y + 1];
album[y + 1] = temp;
}// End of if condition
}// End of inner for loop
}// End of outer for loop
}// End of function
};// End of class

// Initializes static data member
int Album::record = 0;

// main function definition
int main()
{
// Creates an array of Album class object of size ALBUM
Album album[ALBUM];
// Call the function to read data from file
album[0].readFile(album);

// Calls the function to display data before sorting
cout<<" Before ";
album[1].displayAlbum(album);

// Calls the function to
album[1].sortData(album);

// Calls the function to display data before sorting
cout<<" After ";
album[1].displayAlbum(album);
}// End of main function

Sample Output:

Before Sorting

Album Name: Nat King Cole Sings George Shearing Plays
Date: 1962
Number of songs: 15
1. September Song
2. Pick Yourself Up
3. I Got It Bad
4. Let There Be Love
5. Azure-Te
6. Lost April
7. A Beautiful Friendship
8. Fly Me To The Moon
9. Serenata
10. I'm Lost
11. There's A Lull In My Life
12. Don't Go
13. Everything Happens To Me
14. The Game Of Love
15. Guess I'll Go Back Home

Album Name: The Christmas Song
Date: 1963
Number of songs: 19
1. Christmas Song
2. Deck the Hall
3. O Come All Ye Faithful
4. God Rest Ye Merry Gentlemen
5. O Tannenbaum
6. O Little Town of Bethlehem
7. I Saw Three Ships
8. O Holy Night
9. Hark! The Herald Angels Sing
10. A Cradle in Bethlehem
11. Away in a Manger
12. Joy to the World
13. The First Noel
14. Caroling, Caroling
15. Silent Night
16. Buon Natale
17. All I Want for Christmas
18. The Happiest Christmas Tree
19. The Christmas Song

Album Name: Nat King Cole Sings His Songs From Cat Ballou ...
Date: 1965
Number of songs: 11
1. The Ballad Of Cat Ballou
2. Blue Gardenia
3. St LouisBlues
4. The Song Of Raintree County
5. In The Cool Of The Day
6. They Can't Make Her Cry
7. China Gate
8. Night Of The Quarter Moon
9. Never Let Me Go
10. Beale Street Blues
11. Haji Baba

Album Name: The World Of Nat King Cole
Date: 2005
Number of songs: 15
1. Smile
2. Straighten Up And Fly Right
3. Route 66
4. For Sentimental Reasons
5. Nature Boy
6. Too Young
7. Unforgettable
8. Walkin' My Baby Back Home
9. Orange Colored Sky
10. A Blossom Fell
11. Mona Lisa
12. Ramblin' Rose
13. Let There Be Love
14. L-O-V-E
15. When I Fall In Love

Album Name: The Very Best Of Nat King Cole
Date: 2006
Number of songs: 28
1. Stardust
2. Sweet Lorraine
3. Route 66
4. Straighten Up And Fly Right
5. For Sentimental Reasons
6. What'll I Do?
7. Morning Star
8. Penthouse Serenade
9. Candy
10. Walkin' My Baby Back Home
11. Unforgettable
12. Mona Lisa
13. Nature Boy
14. Somewhere Along The Way
15. Smile
16. A Blossom Fell
17. Can't I?
18. Let There Be Love
19. Almost Like Being In Love
20. Ballerina
21. I'm Gonna Sit Right Down
22. Let's Face The Music And Dance
23. Autumn Leaves
24. When I Fall In Love
25. That Sunday, That Summer
26. Looking Back
27. L-O-V-E
28. I Wish You Love

After Sorting

Album Name: Nat King Cole Sings George Shearing Plays
Date: 1962
Number of songs: 15
1. September Song
2. Pick Yourself Up
3. I Got It Bad
4. Let There Be Love
5. Azure-Te
6. Lost April
7. A Beautiful Friendship
8. Fly Me To The Moon
9. Serenata
10. I'm Lost
11. There's A Lull In My Life
12. Don't Go
13. Everything Happens To Me
14. The Game Of Love
15. Guess I'll Go Back Home

Album Name: Nat King Cole Sings His Songs From Cat Ballou ...
Date: 1965
Number of songs: 11
1. The Ballad Of Cat Ballou
2. Blue Gardenia
3. St LouisBlues
4. The Song Of Raintree County
5. In The Cool Of The Day
6. They Can't Make Her Cry
7. China Gate
8. Night Of The Quarter Moon
9. Never Let Me Go
10. Beale Street Blues
11. Haji Baba

Album Name: The Christmas Song
Date: 1963
Number of songs: 19
1. Christmas Song
2. Deck the Hall
3. O Come All Ye Faithful
4. God Rest Ye Merry Gentlemen
5. O Tannenbaum
6. O Little Town of Bethlehem
7. I Saw Three Ships
8. O Holy Night
9. Hark! The Herald Angels Sing
10. A Cradle in Bethlehem
11. Away in a Manger
12. Joy to the World
13. The First Noel
14. Caroling, Caroling
15. Silent Night
16. Buon Natale
17. All I Want for Christmas
18. The Happiest Christmas Tree
19. The Christmas Song

Album Name: The Very Best Of Nat King Cole
Date: 2006
Number of songs: 28
1. Stardust
2. Sweet Lorraine
3. Route 66
4. Straighten Up And Fly Right
5. For Sentimental Reasons
6. What'll I Do?
7. Morning Star
8. Penthouse Serenade
9. Candy
10. Walkin' My Baby Back Home
11. Unforgettable
12. Mona Lisa
13. Nature Boy
14. Somewhere Along The Way
15. Smile
16. A Blossom Fell
17. Can't I?
18. Let There Be Love
19. Almost Like Being In Love
20. Ballerina
21. I'm Gonna Sit Right Down
22. Let's Face The Music And Dance
23. Autumn Leaves
24. When I Fall In Love
25. That Sunday, That Summer
26. Looking Back
27. L-O-V-E
28. I Wish You Love

Album Name: The World Of Nat King Cole
Date: 2005
Number of songs: 15
1. Smile
2. Straighten Up And Fly Right
3. Route 66
4. For Sentimental Reasons
5. Nature Boy
6. Too Young
7. Unforgettable
8. Walkin' My Baby Back Home
9. Orange Colored Sky
10. A Blossom Fell
11. Mona Lisa
12. Ramblin' Rose
13. Let There Be Love
14. L-O-V-E
15. When I Fall In Love

songs.txt file contents

Nat King Cole Sings George Shearing Plays
1962
1. September Song
2. Pick Yourself Up
3. I Got It Bad
4. Let There Be Love
5. Azure-Te
6. Lost April
7. A Beautiful Friendship
8. Fly Me To The Moon
9. Serenata
10. I'm Lost
11. There's A Lull In My Life
12. Don't Go
13. Everything Happens To Me
14. The Game Of Love
15. Guess I'll Go Back Home
=================================
The Christmas Song
1963
1. Christmas Song
2. Deck the Hall
3. O Come All Ye Faithful   
4. God Rest Ye Merry Gentlemen   
5. O Tannenbaum
6. O Little Town of Bethlehem
7. I Saw Three Ships
8. O Holy Night
9. Hark! The Herald Angels Sing
10. A Cradle in Bethlehem
11. Away in a Manger
12. Joy to the World
13. The First Noel
14. Caroling, Caroling
15. Silent Night
16. Buon Natale
17. All I Want for Christmas
18. The Happiest Christmas Tree
19. The Christmas Song
=================================
Nat King Cole Sings His Songs From Cat Ballou ...
1965
1. The Ballad Of Cat Ballou
2. Blue Gardenia
3. St LouisBlues
4. The Song Of Raintree County
5. In The Cool Of The Day
6. They Can't Make Her Cry
7. China Gate
8. Night Of The Quarter Moon
9. Never Let Me Go
10. Beale Street Blues
11. Haji Baba
=================================
The World Of Nat King Cole
2005
1. Smile
2. Straighten Up And Fly Right
3. Route 66
4. For Sentimental Reasons
5. Nature Boy
6. Too Young
7. Unforgettable
8. Walkin' My Baby Back Home
9. Orange Colored Sky
10. A Blossom Fell
11. Mona Lisa
12. Ramblin' Rose
13. Let There Be Love
14. L-O-V-E
15. When I Fall In Love
=================================
The Very Best Of Nat King Cole
2006
1. Stardust
2. Sweet Lorraine
3. Route 66
4. Straighten Up And Fly Right
5. For Sentimental Reasons
6. What'll I Do?
7. Morning Star
8. Penthouse Serenade
9. Candy
10. Walkin' My Baby Back Home
11. Unforgettable
12. Mona Lisa
13. Nature Boy
14. Somewhere Along The Way
15. Smile
16. A Blossom Fell
17. Can't I?
18. Let There Be Love
19. Almost Like Being In Love
20. Ballerina
21. I'm Gonna Sit Right Down
22. Let's Face The Music And Dance
23. Autumn Leaves
24. When I Fall In Love
25. That Sunday, That Summer
26. Looking Back
27. L-O-V-E
28. I Wish You Love
END

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote