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, 21.06.2019 22:20
This problem has been solved! see the answeran evil king has a cellar containing n bottles of expensive wine, and his guards have just caught a spy trying to poison the king’s wine. fortunately, the guards caught the spy after he succeeded in poisoning only one bottle. unfortunately, they don’t know which one. to make matters worse, the poison the spy used was very deadly; just one drop diluted even a billion to one will still kill someone. even so, the poison works slowly; it takes a full month for the person to die. design a scheme that allows the evil king to determine exactly which one of his wine bottles was poisoned in just one month’s time while expending at most o(logn) of his taste testers.you are not allowed to use n testers, one for each bottle, and see which one tester dies after 30 days.(no pseudocode needed. just answer in words, how many testers you use, how you use them and why you correctly identify the poisoned bottle in 30 days)
Answers: 2
question
Computers and Technology, 22.06.2019 13:30
Jane’s team is using the v-shaped model for their project. during the high-level design phase of the project, testers perform integration testing. what is the purpose of an integration test plan in the v-model of development? a. checks if the team has gathered all the requirements b. checks how the product interacts with external systems c. checks the flow of data in internal modules d. checks how the product works from the client side
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
Which statement is true of web-based social media? a.they allow consumers to interact with and update content. b.they cannot be updated easily, as compared to print media. c.they are expensive to produce and maintain, as compared to print and television. d.they can exist independent of the internet.
Answers: 1
question
Computers and Technology, 23.06.2019 17:30
Write pseudocode to represent the logic of a program that allows the user to enter a value. the program multiplies the value by 10 and outputs the result.
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
Mathematics, 16.09.2021 05:20