CS12

Assignment 4

Due: 11:59 PM Monday, June 5 NO EXTENSIONS(or whatever)

Topics Covered By this Assignment

In this assignment you will be re-using the program you made for assignment 3. In assignment 3 you made a CD class to hold information about a CD. Functions related to manipulating the information for ONE CD were supposed to be in the CD class, while other functions related to manipulatinf information for the entire collection of CDs were not in the class. Your task for assignment 4 is to create a new class to represent the collection of CDs. You will have to decide what information should be in this new class and what should be part of the old CD class. If you did your assignment 3 correctly you should not need to modify your CD class at all (except for the operator overloading). This part of the program should not be too difficult and should consist primarily of taking your old code and re-organizing it into the CD case/collection class.

Your program should be able to do all the things that assignment 3 could do. In addition your program should implement the following functions: