subject

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 findthe 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 like inheritance, and polymorphism.

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

expert answer

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:40
Nims is applicable to all stakeholders with incident related responsibilities. true or false
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
The more powerful, 60 volt cables and the main power shut off on an hev are both colored orange
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Apart from confidential information, what other information does nda to outline? ndas not only outline confidential information, but they also enable you to outline .
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
How many points do i need before i can send a chat
Answers: 1
You know the right answer?
The system should load a catalog of books, journals, and magazines at the start of the program. (at...
Questions
question
Biology, 12.02.2022 14:10
question
Social Studies, 12.02.2022 14:20
Questions on the website: 13722361