The book collection

Problem description

Write a program to maintain a small collection of books, stored with title and author. The program should be able to add a new book, delete an existing book (if it is in the collection) and print the number of books and the contents of the collection.

Procedure

Follow these steps to end up with a sucessful program:

  1. Write a one sentence problem statement.
  2. Write the problem description, as given above.
  3. Do the analysis for object design, ending up with at least three classes (including a class for the application), choosing suitable representations for the class members. Write the object design down.
  4. Do the analysis for process design, adding suitable function members to your classes with appropriate parameters. The application class with have (at least) a function member run.
  5. Write C++ program code from your analysis in 3 and 4.
  6. Create a source file using the editor.
  7. Compile the source code using g++.
  8. Test the program by inserting code in you application's run function to do the following:
  9. Deliverables:

Notes and hints