Skip to content

BolotnyaBoss/CourseWork

Repository files navigation

CourseWork

Create a song.dat file with the lyrics. Create a class "Song" (author, title, number of verses) and a class "Verse" (serial number of the verse, an array of tapes of the verse). Read data from song.dat into classes. To create for the class: 1) Default constructor; 2) Constructor with parameters; 3) Copy constructor; 4) override operations >>, << to read and write to a file. Realize:

  1. search for a given word in a verse, for a given word in a song.
  2. the function of replacing the tape of the verse with another.
  3. the function of rearranging the verses.
  4. print the last tapes of all verses.
  5. determine whether the song is a sonnet, and determine the type of sonnet.

About

Here is my course work from 3 term

Resources

License

Stars

Watchers

Forks