A bookshop (PRIMER BOOKSHOP) wants to maintain the inventory of books that are being sold at the shop. The list includes details such as author, title, price, publisher, and stock position. Whenever a customer wants a book, the sales personnel inputs the title and author, and the system searches the list and displays whether it is available or not. - If it is not, an appropriate message is displayed. - If it is, then the system displays the book details and requests for the number of copies required. - If it is requested, copies of the book details and requests for the number of copies required are available, the total cost of the requested copies is displayed and your system needs to update the database. - Sales personnel, from time to time are allowed to update the latest stock and price to the created database. Design a system using a C++ called books inventory with suitable member functions, array, data structure, and pointers. Use suitable pointers, arrays, and data structures to allocate and handle your memory space required dynamically. Users can also save their searching process data which can be opened soon by a certain ID/key to index their previous searching process data.
C++ Project ( Build the requested system 100% into a C++ environment, excluding Class framework & All defined variables must be represented as pointer type, int, char etc)
Scenario:
A bookshop (PRIMER BOOKSHOP) wants to maintain the inventory of books that are being sold at the shop. The list includes details such as author, title, price, publisher, and stock position. Whenever a customer wants a book, the sales personnel inputs the title and author, and the system searches the list and displays whether it is available or not.
- If it is not, an appropriate message is displayed.
- If it is, then the system displays the book details and requests for the number of copies required.
- If it is requested, copies of the book details and requests for the number of copies required are available, the total cost of the requested copies is displayed and your system needs to update the
- Sales personnel, from time to time are allowed to update the latest stock and price to the created database.
Design a system using a C++ called books inventory with suitable member functions, array, data
structure, and pointers. Use suitable pointers, arrays, and data structures to allocate and handle your
memory space required dynamically. Users can also save their searching process data which can be
opened soon by a certain ID/key to index their previous searching process data.
For the menu, at least you could come out with the following menu system. Subject to your
creativity, you may add as many functions as you could to ensure that your system maintains very
good interactivity. (Refer to the pictures attached)
*Help me solve this question & give good comments for every single function, loop, and statement. Thank you in advance.
Step by step
Solved in 3 steps with 7 images