Author(s): Daniel Adebola-Dada
Purpose: To manage a bookclub with book club members and books using C++ where club members can rate a book.
List of source and header files:
- Control.cc
- Control.h
- View.cc
- View.h
- BookClub.cc
- BookClub.h
- Book.cc
- Book.h
- ClubMember.cc
- ClubMember.h
- Rating.cc
- Rating.h
- DynArray.cc
- DynArray.h
- BookList.cc
- BookList.h
- main.cc
- RandomIdGenerator.cc
- RandomIdGenerator.h
Launching Instructions:
- Open the Command prompt and navigate to the directory where the files are stored
- Compile the files using the Makefile by typing "make" in the Command prompt then press Enter
- Run the executable created which is called "output" by typing "./output" and then press Enter
Note(s)/Assumption(s):
- The RandomIdGenerator class was created to generate id's for club members and books.
- While writing the del() function for the BookList class, I assumed that every book would have a distinct title.
- The id's for the clubmembers/books start from 1001.
- In the initRatings() function of the Control class, I made reference to the members and books initialized in the initMembers() and initBooks() functions.
- I assumed that a clubmember can not revoke/delete a rating once already given; can only update it.
- I assumed that clubmembers can not have multiple ratings of the same book.