CS12
Assignment 3
Due: 11:59 PM Friday May 19
In this assignment, you will be writing a class to maintain information about a Music CD. The class should hold the title of the album, the name of the artist, and the length in minutes of the CD.
After you have defined the CD class, write a program to maintain an array of CDs. Assume that your CD case can hold a max of 10 CDs. You will also need to keep count of the actual number of CSs in your CD case, initially zero. Your program must give the user the following options:
Example:
If you define your long songs to be 10 minutes, medium 5 minutes and short 3 minutes.
Then if your CD is 60 minutes long Your estimates would be 6 songs, 12 songs, and 20 songss.
You will be using this assignment for future assignments, so be sure to put thought into it and do a good job.
This assignment must be done using the Linux operating system. Be sure to divide your program into separate files, and be sure to write and turn in a makefile (with a clean option). When you turn in your assignment, only turn in the header files, the .cpp or .cc files, and the makefile. You will be learning how to do the linux stuff next week, this does not mean that you should wait until next week to start the assignment. You can start writing the code for the assignment and move it to linux when you learn how to do it. START NOW! I am giving you nearly 2 weeks to finish the assignment. It is fairly involved. If you need help get help early. Don't wait until the last day, or even the last week. It should not be too hard for anyone who starts early to finish this assignment.