Question: To be done with C++ and Python Part III. (suggested practice, not for grade, not for mandatory submission) Create a Class Library. Include C++ vectors

 To be done with C++ and Python Part III. (suggested practice,

To be done with C++ and Python

Part III. (suggested practice, not for grade, not for mandatory submission) Create a Class Library. Include C++ vectors / Python lists of Books and Patrons; include a C++ map / Python dictionary for association of Patron object to a sequence of Book objects (on loan). Create functions to add books to the library, add patrons to the library, and check out books. Whenever a user checks out a book, make check that the user and the book are in the library. If they are not, report an error. Finally, create a function to return a C++ vector / Python list of book a patron owes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!