Question
Its C++ Program for Library System Using Data Structures.Following functions are implemented 1) Insert a Book 2) Stock of Book 3) Search of Book by
Its C++ Program for Library System Using Data Structures.Following functions are implemented
1) Insert a Book 2) Stock of Book 3) Search of Book by ISBN 4) Display Books by author 5) Modify a Book record 6) Delete a Book
Add these functions in program
2) Issue a Book to student 3) Book Deposit by students 4) Find all Issued Books
Program : #include
class Book { public: string bName; string ISBN; string author; string year_published; string student; string roll; string Class; Book* next; };
Book* head=NULL;
void Insert_book() { Book* new_book=new Book(); Book *last=head;
cout<
void Delete_book() { if(head==NULL) { cout<<"List is empty!!!"; } else { string dISBN; cout<
void modify_book() { if(head==NULL) { cout<<"List is empty!!!"; } else { string dISBN; cout<
cout<
void Searchbookby_ISBN() { if(head==NULL) { cout<<"List is empty!!!"; } else { string dISBN; cout< void SearchBy_author() { if(head==NULL) { cout<<"List is empty!!!"; } else { string dauthor; cout< void Display_ALL_Books() { string enter; if(head==NULL) { cout<<"List is empty!!!"; } else { Book *current=head; while(current!=NULL) { cout< int main() { while(1) { cout<<"\t Main MENU"< case 10:Exit(); break; default:cout<<"Wrong Choice. Select again"<
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started