Question: Write a C++ code for Library Management System with following details. There are two types of listings, Books and Magazines. Books may have attributes like
Write a C++ code for Library Management System with following details. There are two types of listings,
Books and Magazines.
Books may have attributes like
title,
author,
bookNo
publisher,
stock, and
isRef.
Where author is an object of type class Author and isRef is used identify reference books. Reference books are not issuable.
Similarly Magazine must have an additional attribute of period e.g, daily, weekly, monthly. You have to devise solution for the datatype of attribute period. Magazines are not issuable.
Library users could either be a Student or Staff. Write classes for both in hierarchical manner and include attributes of your choice like name, email etc.
Finally create an issueList{} class which holds information of issued items with book and user information.
In main() method create an array of items and an array of users.
Write methods to add data of books and users.
Write method to issue library item.
Step by Step Solution
3.41 Rating (148 Votes )
There are 3 Steps involved in it
C Code for library management HEADER FILE US... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
60915c5db0f5f_209827.pdf
180 KBs PDF File
60915c5db0f5f_209827.docx
120 KBs Word File
