Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C+program to manage a library system. The main user is the librarian Build Specifications 1. The system should load a catalog of books,

image text in transcribed

Write a C+program to manage a library system. The main user is the librarian Build Specifications 1. The system should load a catalog of books, journals, and magazines at the start of the program. (at least five of each) 2. A user can search the catalog: The user of the system can search the library's catalog by using the name of the item. Also, a user can list books by category (Book, Journal, or magazine). If you are looking specifically for a book, you can search by the name of the author 3. A user can check out books, journals, or magazines: The user needs to find the item first, then they can check it out. A user cannot check out an item that is already checked out. 4. A user can return books, journals, or magazines: A user can return an item. The user needs to find the item first, then they can return it. 5. Add new books, journals, or magazines to the catalog. A librarian can add a new item to the catalog Each item should have the following data members: ID, Name, and Status. Books have the "Author name" as an additional data member. Journals have the "Volume" as an additional data member. Magazines have the "Issue number" as an additional data member. The program must have the following properties You should do error handling (Ex: A librarian cannot add a book that already exists) You should use C++ concepts that we covered in class. Example: (inheritance) You can design a generic library item, then design derived classes for different kinds of items that a user can check out. Your program should use a suitable data structure to store the items. Also, design a menu (should still appear until the exit option is chosen) in the Main program that has the following options implemented to test your classes' functionality 1. Search Catalog 2. Check out 3. Return 4. Add a new item 5. Exit Extra Credit: - Save and load data from and to a file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

=+2. How reliable is this existing information?

Answered: 1 week ago

Question

explain what is meant by experiential learning

Answered: 1 week ago

Question

identify the main ways in which you learn

Answered: 1 week ago