SlideShare a Scribd company logo
Object Oriented Programming
Library Management System Project
Code for Program:
#include<iostream>
#include<conio.h>
#include<windows.h>
#include<string>
usingnamespace std;
staticint bookcount=0;
//***************************************************************************
// THIS CLASSCONTAINSFUNCTIONSRELATEDTO BOOKS
//***************************************************************************
classBookArchive
{
protected:
inti,j;
stringbookcode[100];
char name[100][50];
char author[100][50];
int quantity[100],price[100];
int issue[100];
BookArchive()
{
i=j=0;
}
public:
voidadd_books();
voidlist_of_books();
voidmodify_books();
voiddelete_books();
voidsearch_books();
voidissue_books();
voidreturn_books();
};
//***************************************************************************
// THIS CLASSCONTROLALL THE FUNCTIONSIN THE MENU
//***************************************************************************
//**********************************************************
// ClassisInheritedfrom"BookArchive"andhasa Relation
//**********************************************************
classLibrary : publicBookArchive
{
public:
voidintroduction()
{
system("cls");
cout<<"nnnttt WELCOME TO PROJECTn";
cout<<"tt LIBRARYMANAGEMENT PROGRAMFOR BOOKSnnn";
cout<<"tttThis Programhas Facilityof n";
cout<<"tttMaintaining Recordsof BOOKS.n";
cout<<"tttThis Program can HoldRecordn";
cout<<"tttof Hundered(100) Categoriesofn";
cout<<"tttBooks&can Store 10,000 Books.nnn";
cout<<"tt Let'sGet Started:-)n";
cout<<"tt Pressany keyto continue...";
getch();
}
voidmain_menu()
{
char ch;
while (1)
{
system("cls");
cout<<"nnttttMAIN MENUn";
cout<<"tttt~~~~~~~~~~~~nn";
cout<<"ttt1.Introductionnn";
cout<<"ttt2.View Booklistnn";
cout<<"ttt3.Add Booksnn";
cout<<"ttt4.Edit Menunn";
cout<<"ttt5.Search Booksnn";
cout<<"ttt6.Issue/ReturnBooksnn";
cout<<"ttt0.Close Applicationnnn";
cout<<"tttEnterYourChoice : " ;
cin>>ch;
switch(ch)
{
case '1':
introduction();
break;
case '2':
list_of_books();
break;
case '3':
add_books();
break;
case '4':
edit_menu();
break;
case '5':
search_books();
break;
case '6':
issue_return();
case '0':
{
system("cls");
cout<<"nnttThankYouForUsing the Programn";
cout<<"ttExitingin3second...........>nnn";
Sleep(3000);
exit(0);
}
break;
default:
{
cout<<"tttaaWrongEntry!!n";
cout<<"tttPleaseEnterCorrectOption";
if(getch())
main_menu();
}
}
}
}
protected:
voidedit_menu()
{
char ch;
while (1)
{
system("cls");
cout <<"nnttttEDITBOOKSn";
cout <<"tttt~~~~~~~~~~~~nn" ;
cout <<"ttt1. Modifyn";
cout <<"ttt2. Deleten";
cout <<"ttt0. Main Menunn";
cout <<"tttEnterYour Choice :" ;
cin>>ch;
switch(ch)
{
case '1':
modify_books();
break;
case '2':
delete_books();
break;
case '0':
main_menu();
break;
default:
{
cout<<"tttaaWrongEntry!!n";
cout<<"tttPleaseEnterCorrectOption";
if(getch())
edit_menu();
}
}
}
}
voidissue_return()
{
char ch1;
while (1)
{
system("cls");
cout <<"nnttttISSUE/RETURN BOOKSn";
cout <<"tttt~~~~~~~~~~~~~~~~~~nn" ;
cout <<"ttt1. Issue Booksn";
cout <<"ttt2. ReturnBooksn";
cout <<"ttt0. Main Menunn";
cout <<"tttEnterYour Choice :" ;
cin>>ch1;
switch(ch1)
{
case '1':
issue_books();
break;
case '2':
return_books();
break;
case '0':
main_menu();
break;
default:
{
cout<<"tttaaWrongEntry!!n";
cout<<"tttPleaseEnterCorrectOption";
if(getch())
issue_return();
}
}
}
}
};
//***************************************************************************
// DEFINITIONSOFFUNCTIONSUSED IN CLASS"BookArchive"
//***************************************************************************
//*****************************
// FunctionToAddBooks
//*****************************
voidBookArchive::add_books()
{
char choice;
do
{
system("cls");
cin.ignore();
cout<<"tADD BOOKSTO LIBRARY";
cout<<"nNEWBOOK ENTRY...";
cout<<"nnEnterBookCode:";
getline(cin,bookcode[bookcount]);
cout<<"Enter Name of Book: ";
gets(name[bookcount]);
cout<<"Enter Author'sName:";
gets(author[bookcount]);
cout<<"Enter Price:";
cin>>(price[bookcount]);
cout<<"Enter Quantity:";
cin>>(quantity[bookcount]);
cout<<"nnBOOKCREATED!!";
issue[bookcount]=0;
bookcount++;
cout<<"nnEnterAnotherBook?(y/n):";
cin>>choice;
}
while (choice=='Y'||choice=='y');
cout<<"Pressany keyto go back to Main Menu...";
getch();
}
//*****************************
// FunctionToShowBooksList
//*****************************
voidBookArchive::list_of_books()
{
system("cls");
cout<<"tLIST OF ALL LIBRARYBOOKS";
for(i=0; i<bookcount; i++)
{
cout<<endl<<endl;
cout<<"Book Code:";
cout<<(bookcode[i])<<endl;
cout<<"Book Name:";
puts(name[i]);
cout<<"AuthorName:";
puts(author[i]);
cout<<"Price:"<<price[i]<<endl;
cout<<"Quantity:"<<quantity[i]<<endl<<endl;
}
if(i==0)
cout<<"nNoBookRecord.nn";
cout<<"Pressany keytogo back to Main Menu...";
getch();
}
//*****************************
// FunctionToModifyBooks
//*****************************
voidBookArchive::modify_books()
{
char choice;
stringbk_nmbr;
do
{
system("cls");
cin.ignore();
cout<<"tBOOKMODIFYING PANELnn";
cout<<"Enter BookCode to Modify:";
getline(cin,bk_nmbr);
cout<<"Searching....n";
Sleep(5000);
for(i=0; i<bookcount; i++)
if(bk_nmbr==bookcode[i])
{
cout<<"ntBOOKRECORDFOUND!!nn";
cout<<"AddModifyingDetailsn";
cout<<"Enter BookCode:";
getline(cin,bookcode[i]);
cout<<"Enter Name of Book: ";
gets(name[i]);
cout<<"Enter Author'sName:";
gets(author[i]);
cout<<"Enter Price:";
cin>>(price[i]);
cout<<"Enter Quantity:";
cin>>(quantity[i]);
cout<<"nnBookwithCode '"<<bookcode[i]<<"'hasbeenModified..";
break;
}
if(i==bookcount)
cout<<"nnNoSuchBookRecord isFound.";
cout<<"nModifyAnotherBook?(y/n):";
cin>>choice;
}
while (choice=='y'||choice=='Y');
cout<<"Pressany keytogo back to Edit Menu...";
getch();
}
//*****************************
// FunctionToDelete Books
//*****************************
voidBookArchive::delete_books()
{
char choice;
stringbk_nmbr;
do
{
system("cls");
cin.ignore();
cout<<"tBOOKDELETING PANELnn";
cout<<"Enter BookCode to be Deleted:";
getline(cin,bk_nmbr);
cout<<"Searching....n";
Sleep(5000);
for(i=0; i<bookcount; i++)
if(bk_nmbr==bookcode[i])
{
cout<<"ntBOOKRECORDFOUND!!nn";
for(j=i ; j<bookcount;j++)
{
issue[j]=issue[j+1];
bookcode[j]=bookcode[j+1];
strcpy(name[j],name[j+1]);
strcpy(author[j],author[j+1]);
price[j]=price[j+1];
quantity[j]=quantity[j+1];
}
bookcount-=1;
cout<<"nnnBookRecordDeletedSuccessfully...n";
break;
}
if(i==bookcount)
cout<<"nnNoSuchBookRecord isFound.";
cout<<"nDelete AnotherBook?(y/n):";
cin>>choice;
}
while(choice=='y'||choice=='Y');
cout<<"Pressany keytogo back to Edit Menu...";
getch();
}
//*****************************
// FunctionToSearch Books
//*****************************
voidBookArchive::search_books()
{
char choice;
stringbk_nmbr;
do
{
system("cls");
cin.ignore();
cout<<"tBOOKSEARCHINGPANELnn";
cout<<"Enter BookCode to Search:";
getline(cin,bk_nmbr);
cout<<"Searching....n";
Sleep(5000);
for(i=0; i<bookcount; i++)
if(bk_nmbr==bookcode[i])
{
cout<<"ntBOOKRECORDFOUND!!nn";
cout<<"Complete BookDetailsn";
cout<<"Book Code:";
cout<<(bookcode[i])<<endl;
cout<<"Book Name:";
puts(name[i]);
cout<<"AuthorName:";
puts(author[i]);
cout<<"Price:"<<price[i]<<endl;
cout<<"Quantity:"<<quantity[i]<<endl;
break;
}
if(i==bookcount)
cout<<"nnNoSuchBookRecord isFound.";
cout<<"nSearchAnotherBook?(y/n):";
cin>>choice;
}
while (choice=='y'||choice=='Y');
cout<<"Pressany keytogo back to Main Menu...";
getch();
}
//*****************************
// FunctionToIssue Books
//*****************************
voidBookArchive::issue_books()
{
char choice,choice1;
stringbk_nmbr;
do
{
system("cls");
cin.ignore();
cout<<"tBOOKISSUINGPANELnn";
cout<<"Enter BookCode to Issue:";
getline(cin,bk_nmbr);
cout<<"Searching....n";
Sleep(5000);
for(i=0; i<bookcount; i++)
if(bk_nmbr==bookcode[i])
{
cout<<"ntBOOKRECORDFOUND!!nn";
cout<<"Complete BookDetailsn";
cout<<"Book Code:";
cout<<(bookcode[i])<<endl;
cout<<"Book Name:";
puts(name[i]);
cout<<"AuthorName:";
puts(author[i]);
cout<<"Price:"<<price[i]<<endl;
cout<<"Quantity:"<<quantity[i]<<endl<<endl;
if (quantity[i]>0)
{
cout<<"Do You Want to Issue ThisBook?(y/n):";
cin>>choice1;
if (choice=='y'|| choice=='Y')
issue[i]==1;
quantity[i]--;
cout<<"nBookwithCode '"<<bookcode[i]<<"'isIssuedn";
}
else
{
cout<<"ThisBook isOut of Stockn";
}
break;
}
if(i==bookcount)
cout<<"nnNoSuchBookRecord isFound.n";
cout<<"nSearchAnotherBook?(y/n):";
cin>>choice;
}
while (choice=='y'||choice=='Y');
cout<<"Pressany keytogo back to Issue/ReturnMenu...";
getch();
}
//*****************************
// FunctionToReturnBooks
//*****************************
voidBookArchive::return_books()
{
char choice,choice1;
stringbk_nmbr;
do
{
system("cls");
cin.ignore();
cout<<"tBOOKRETURNING PANELnn";
cout<<"Enter BookCode to Return:";
getline(cin,bk_nmbr);
cout<<"Searching....n";
Sleep(5000);
for(i=0; i<bookcount; i++)
if(bk_nmbr==bookcode[i])
{
cout<<"ntBOOKRECORDFOUND!!nn";
cout<<"Complete BookDetailsn";
cout<<"Book Code:";
cout<<(bookcode[i])<<endl;
cout<<"Book Name:";
puts(name[i]);
cout<<"AuthorName:";
puts(author[i]);
cout<<"Price:"<<price[i]<<endl;
cout<<"Quantity:"<<quantity[i]<<endl<<endl;
cout<<"Do You Want to ReturnThisBook?(y/n):";
cin>>choice1;
if (choice=='y'|| choice=='Y')
issue[i]==0;
quantity[i]++;
cout<<"nBookwithCode '"<<bookcode[i]<<"'hasbeenReturnedn";
break;
}
if(i==bookcount)
cout<<"nnNoSuchBookRecord isFound.n";
cout<<"nSearchAnotherBook?(y/n):";
cin>>choice;
}
while (choice=='y'||choice=='Y');
cout<<"Pressany keytogo back to Issue/Return Menu...";
getch();
}
//***************************************************************************
// PROGRAMEXECUTION THROUGH "MAIN"FUNCTION
//***************************************************************************
intmain()
{
LibraryL;
L.introduction();
L.main_menu();
}
OUTPUT:
Library Managment System - C++ Program

More Related Content

What's hot

SQL JOINS
SQL JOINSSQL JOINS
SQL JOINS
Swapnali Pawar
 
A must Sql notes for beginners
A must Sql notes for beginnersA must Sql notes for beginners
A must Sql notes for beginners
Ram Sagar Mourya
 
Dbms lab Manual
Dbms lab ManualDbms lab Manual
Dbms lab Manual
Vivek Kumar Sinha
 
Introduction to sql
Introduction to sqlIntroduction to sql
Introduction to sql
VARSHAKUMARI49
 
Cross Join Example and Applications
Cross Join Example and ApplicationsCross Join Example and Applications
Cross Join Example and Applications
Abdul Rahman Sherzad
 
SQL Queries
SQL QueriesSQL Queries
SQL Queries
Nilt1234
 
DATABASE MANAGEMENT SYSTEM LAB.pdf
DATABASE MANAGEMENT SYSTEM LAB.pdfDATABASE MANAGEMENT SYSTEM LAB.pdf
DATABASE MANAGEMENT SYSTEM LAB.pdf
Prof. Dr. K. Adisesha
 
Library Management System Project in C
Library Management System Project in CLibrary Management System Project in C
Library Management System Project in C
codewithc
 
SQL JOIN
SQL JOINSQL JOIN
SQL JOIN
Ritwik Das
 
Best sql plsql material
Best sql plsql materialBest sql plsql material
Best sql plsql material
pitchaiah yechuri
 
Introduction to Array ppt
Introduction to Array pptIntroduction to Array ppt
Introduction to Array ppt
sandhya yadav
 
MySql: Queries
MySql: QueriesMySql: Queries
MySql: Queries
DataminingTools Inc
 
Two dimensional array
Two dimensional arrayTwo dimensional array
Two dimensional array
Rajendran
 
SQL - DML and DDL Commands
SQL - DML and DDL CommandsSQL - DML and DDL Commands
SQL - DML and DDL Commands
Shrija Madhu
 
Python programming : Strings
Python programming : StringsPython programming : Strings
Python programming : Strings
Emertxe Information Technologies Pvt Ltd
 
Sql notes, sql server,sql queries,introduction of SQL, Beginner in SQL
Sql notes, sql server,sql queries,introduction of SQL, Beginner in SQLSql notes, sql server,sql queries,introduction of SQL, Beginner in SQL
Sql notes, sql server,sql queries,introduction of SQL, Beginner in SQL
Prashant Kumar
 
Bank Management System
Bank Management System Bank Management System
Bank Management System
kartikeya upadhyay
 
Presentation slides of Sequence Query Language (SQL)
Presentation slides of Sequence Query Language (SQL)Presentation slides of Sequence Query Language (SQL)
Presentation slides of Sequence Query Language (SQL)
Punjab University
 
Chapter9 more on database and sql
Chapter9 more on database and sqlChapter9 more on database and sql
Chapter9 more on database and sql
KV(AFS) Utarlai, Barmer (Rajasthan)
 
Python set
Python setPython set
Python set
Mohammed Sikander
 

What's hot (20)

SQL JOINS
SQL JOINSSQL JOINS
SQL JOINS
 
A must Sql notes for beginners
A must Sql notes for beginnersA must Sql notes for beginners
A must Sql notes for beginners
 
Dbms lab Manual
Dbms lab ManualDbms lab Manual
Dbms lab Manual
 
Introduction to sql
Introduction to sqlIntroduction to sql
Introduction to sql
 
Cross Join Example and Applications
Cross Join Example and ApplicationsCross Join Example and Applications
Cross Join Example and Applications
 
SQL Queries
SQL QueriesSQL Queries
SQL Queries
 
DATABASE MANAGEMENT SYSTEM LAB.pdf
DATABASE MANAGEMENT SYSTEM LAB.pdfDATABASE MANAGEMENT SYSTEM LAB.pdf
DATABASE MANAGEMENT SYSTEM LAB.pdf
 
Library Management System Project in C
Library Management System Project in CLibrary Management System Project in C
Library Management System Project in C
 
SQL JOIN
SQL JOINSQL JOIN
SQL JOIN
 
Best sql plsql material
Best sql plsql materialBest sql plsql material
Best sql plsql material
 
Introduction to Array ppt
Introduction to Array pptIntroduction to Array ppt
Introduction to Array ppt
 
MySql: Queries
MySql: QueriesMySql: Queries
MySql: Queries
 
Two dimensional array
Two dimensional arrayTwo dimensional array
Two dimensional array
 
SQL - DML and DDL Commands
SQL - DML and DDL CommandsSQL - DML and DDL Commands
SQL - DML and DDL Commands
 
Python programming : Strings
Python programming : StringsPython programming : Strings
Python programming : Strings
 
Sql notes, sql server,sql queries,introduction of SQL, Beginner in SQL
Sql notes, sql server,sql queries,introduction of SQL, Beginner in SQLSql notes, sql server,sql queries,introduction of SQL, Beginner in SQL
Sql notes, sql server,sql queries,introduction of SQL, Beginner in SQL
 
Bank Management System
Bank Management System Bank Management System
Bank Management System
 
Presentation slides of Sequence Query Language (SQL)
Presentation slides of Sequence Query Language (SQL)Presentation slides of Sequence Query Language (SQL)
Presentation slides of Sequence Query Language (SQL)
 
Chapter9 more on database and sql
Chapter9 more on database and sqlChapter9 more on database and sql
Chapter9 more on database and sql
 
Python set
Python setPython set
Python set
 

Similar to Library Managment System - C++ Program

Supermarket
SupermarketSupermarket
Supermarket
Mechanical engineer
 
Web Scripting Project JavaScripts and HTML WebPage
Web Scripting Project JavaScripts and HTML WebPageWeb Scripting Project JavaScripts and HTML WebPage
Web Scripting Project JavaScripts and HTML WebPage
Sunny U Okoro
 
Project hotel on hotel management fo
Project  hotel on hotel management foProject  hotel on hotel management fo
Project hotel on hotel management fo
Sunny Singhania
 
Quiz using C++
Quiz using C++Quiz using C++
Quiz using C++
Sushil Mishra
 
g++ -o simpleVector.exe simpleVector.cpp #include stdio.h #i.pdf
g++ -o simpleVector.exe simpleVector.cpp #include stdio.h #i.pdfg++ -o simpleVector.exe simpleVector.cpp #include stdio.h #i.pdf
g++ -o simpleVector.exe simpleVector.cpp #include stdio.h #i.pdf
arakalamkah11
 
Project fast food automaton
Project fast food automatonProject fast food automaton
Project fast food automaton
varun arora
 
computer project on shopping mall..cbse 2017-2018 project
computer project on shopping mall..cbse 2017-2018 projectcomputer project on shopping mall..cbse 2017-2018 project
computer project on shopping mall..cbse 2017-2018 project
Róhït Ràút
 
Week 2 - Advanced C++list1.txt312220131197.docx
Week 2 - Advanced C++list1.txt312220131197.docxWeek 2 - Advanced C++list1.txt312220131197.docx
Week 2 - Advanced C++list1.txt312220131197.docx
melbruce90096
 
c++ project on restaurant billing
c++ project on restaurant billing c++ project on restaurant billing
c++ project on restaurant billing
Swakriti Rathore
 
C# labprograms
C# labprogramsC# labprograms
C# labprograms
Jafar Nesargi
 
(C++ programming)menu quit, book show, book change, book remo.docx
(C++ programming)menu  quit, book show, book change, book remo.docx(C++ programming)menu  quit, book show, book change, book remo.docx
(C++ programming)menu quit, book show, book change, book remo.docx
ajoy21
 
(In java language)1. Use recursion in implementing the binarySearc.pdf
(In java language)1. Use recursion in implementing the binarySearc.pdf(In java language)1. Use recursion in implementing the binarySearc.pdf
(In java language)1. Use recursion in implementing the binarySearc.pdf
rbjain2007
 
General Functions
General FunctionsGeneral Functions
General Functions
BabuDevanandam
 
filesHeap.h#ifndef HEAP_H#define HEAP_H#includ.docx
filesHeap.h#ifndef HEAP_H#define HEAP_H#includ.docxfilesHeap.h#ifndef HEAP_H#define HEAP_H#includ.docx
filesHeap.h#ifndef HEAP_H#define HEAP_H#includ.docx
ssuser454af01
 
Conexion php
Conexion phpConexion php
Conexion php
Luis Reategui Vargas
 
Conexion php
Conexion phpConexion php
Conexion php
Luis Reategui Vargas
 
API Design
API DesignAPI Design
API Design
Eddie Kao
 
Implementation of k-means clustering algorithm in C
Implementation of k-means clustering algorithm in CImplementation of k-means clustering algorithm in C
Implementation of k-means clustering algorithm in C
Kasun Ranga Wijeweera
 
Tugas praktikukm pemrograman c++
Tugas praktikukm  pemrograman c++Tugas praktikukm  pemrograman c++
Tugas praktikukm pemrograman c++
Dendi Riadi
 
A single language for backend and frontend from AngularJS to cloud with Clau...
A single language for backend and frontend  from AngularJS to cloud with Clau...A single language for backend and frontend  from AngularJS to cloud with Clau...
A single language for backend and frontend from AngularJS to cloud with Clau...
Corley S.r.l.
 

Similar to Library Managment System - C++ Program (20)

Supermarket
SupermarketSupermarket
Supermarket
 
Web Scripting Project JavaScripts and HTML WebPage
Web Scripting Project JavaScripts and HTML WebPageWeb Scripting Project JavaScripts and HTML WebPage
Web Scripting Project JavaScripts and HTML WebPage
 
Project hotel on hotel management fo
Project  hotel on hotel management foProject  hotel on hotel management fo
Project hotel on hotel management fo
 
Quiz using C++
Quiz using C++Quiz using C++
Quiz using C++
 
g++ -o simpleVector.exe simpleVector.cpp #include stdio.h #i.pdf
g++ -o simpleVector.exe simpleVector.cpp #include stdio.h #i.pdfg++ -o simpleVector.exe simpleVector.cpp #include stdio.h #i.pdf
g++ -o simpleVector.exe simpleVector.cpp #include stdio.h #i.pdf
 
Project fast food automaton
Project fast food automatonProject fast food automaton
Project fast food automaton
 
computer project on shopping mall..cbse 2017-2018 project
computer project on shopping mall..cbse 2017-2018 projectcomputer project on shopping mall..cbse 2017-2018 project
computer project on shopping mall..cbse 2017-2018 project
 
Week 2 - Advanced C++list1.txt312220131197.docx
Week 2 - Advanced C++list1.txt312220131197.docxWeek 2 - Advanced C++list1.txt312220131197.docx
Week 2 - Advanced C++list1.txt312220131197.docx
 
c++ project on restaurant billing
c++ project on restaurant billing c++ project on restaurant billing
c++ project on restaurant billing
 
C# labprograms
C# labprogramsC# labprograms
C# labprograms
 
(C++ programming)menu quit, book show, book change, book remo.docx
(C++ programming)menu  quit, book show, book change, book remo.docx(C++ programming)menu  quit, book show, book change, book remo.docx
(C++ programming)menu quit, book show, book change, book remo.docx
 
(In java language)1. Use recursion in implementing the binarySearc.pdf
(In java language)1. Use recursion in implementing the binarySearc.pdf(In java language)1. Use recursion in implementing the binarySearc.pdf
(In java language)1. Use recursion in implementing the binarySearc.pdf
 
General Functions
General FunctionsGeneral Functions
General Functions
 
filesHeap.h#ifndef HEAP_H#define HEAP_H#includ.docx
filesHeap.h#ifndef HEAP_H#define HEAP_H#includ.docxfilesHeap.h#ifndef HEAP_H#define HEAP_H#includ.docx
filesHeap.h#ifndef HEAP_H#define HEAP_H#includ.docx
 
Conexion php
Conexion phpConexion php
Conexion php
 
Conexion php
Conexion phpConexion php
Conexion php
 
API Design
API DesignAPI Design
API Design
 
Implementation of k-means clustering algorithm in C
Implementation of k-means clustering algorithm in CImplementation of k-means clustering algorithm in C
Implementation of k-means clustering algorithm in C
 
Tugas praktikukm pemrograman c++
Tugas praktikukm  pemrograman c++Tugas praktikukm  pemrograman c++
Tugas praktikukm pemrograman c++
 
A single language for backend and frontend from AngularJS to cloud with Clau...
A single language for backend and frontend  from AngularJS to cloud with Clau...A single language for backend and frontend  from AngularJS to cloud with Clau...
A single language for backend and frontend from AngularJS to cloud with Clau...
 

More from Muhammad Danish Badar

Water and marketing needs, wants & demands
Water and marketing needs, wants & demandsWater and marketing needs, wants & demands
Water and marketing needs, wants & demands
Muhammad Danish Badar
 
Vocabulary builiding strategy
Vocabulary builiding strategyVocabulary builiding strategy
Vocabulary builiding strategy
Muhammad Danish Badar
 
Napoleon Bonaparte
Napoleon BonaparteNapoleon Bonaparte
Napoleon Bonaparte
Muhammad Danish Badar
 
Graphs and eularian circuit & path with c++ program
Graphs and eularian circuit & path with c++ programGraphs and eularian circuit & path with c++ program
Graphs and eularian circuit & path with c++ program
Muhammad Danish Badar
 
Differences Between British English and American English
Differences Between British English and American EnglishDifferences Between British English and American English
Differences Between British English and American English
Muhammad Danish Badar
 
Alexander the great
Alexander the greatAlexander the great
Alexander the great
Muhammad Danish Badar
 
Adolf hitler
Adolf hitlerAdolf hitler
Adolf hitler
Muhammad Danish Badar
 
Comparison between computers of past and present
Comparison between computers of past and presentComparison between computers of past and present
Comparison between computers of past and present
Muhammad Danish Badar
 

More from Muhammad Danish Badar (8)

Water and marketing needs, wants & demands
Water and marketing needs, wants & demandsWater and marketing needs, wants & demands
Water and marketing needs, wants & demands
 
Vocabulary builiding strategy
Vocabulary builiding strategyVocabulary builiding strategy
Vocabulary builiding strategy
 
Napoleon Bonaparte
Napoleon BonaparteNapoleon Bonaparte
Napoleon Bonaparte
 
Graphs and eularian circuit & path with c++ program
Graphs and eularian circuit & path with c++ programGraphs and eularian circuit & path with c++ program
Graphs and eularian circuit & path with c++ program
 
Differences Between British English and American English
Differences Between British English and American EnglishDifferences Between British English and American English
Differences Between British English and American English
 
Alexander the great
Alexander the greatAlexander the great
Alexander the great
 
Adolf hitler
Adolf hitlerAdolf hitler
Adolf hitler
 
Comparison between computers of past and present
Comparison between computers of past and presentComparison between computers of past and present
Comparison between computers of past and present
 

Recently uploaded

Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 

Library Managment System - C++ Program

  • 1. Object Oriented Programming Library Management System Project Code for Program: #include<iostream> #include<conio.h> #include<windows.h> #include<string> usingnamespace std; staticint bookcount=0; //*************************************************************************** // THIS CLASSCONTAINSFUNCTIONSRELATEDTO BOOKS //*************************************************************************** classBookArchive { protected: inti,j; stringbookcode[100]; char name[100][50]; char author[100][50]; int quantity[100],price[100]; int issue[100]; BookArchive() { i=j=0; } public: voidadd_books(); voidlist_of_books(); voidmodify_books(); voiddelete_books(); voidsearch_books(); voidissue_books(); voidreturn_books(); }; //*************************************************************************** // THIS CLASSCONTROLALL THE FUNCTIONSIN THE MENU //*************************************************************************** //********************************************************** // ClassisInheritedfrom"BookArchive"andhasa Relation //********************************************************** classLibrary : publicBookArchive
  • 2. { public: voidintroduction() { system("cls"); cout<<"nnnttt WELCOME TO PROJECTn"; cout<<"tt LIBRARYMANAGEMENT PROGRAMFOR BOOKSnnn"; cout<<"tttThis Programhas Facilityof n"; cout<<"tttMaintaining Recordsof BOOKS.n"; cout<<"tttThis Program can HoldRecordn"; cout<<"tttof Hundered(100) Categoriesofn"; cout<<"tttBooks&can Store 10,000 Books.nnn"; cout<<"tt Let'sGet Started:-)n"; cout<<"tt Pressany keyto continue..."; getch(); } voidmain_menu() { char ch; while (1) { system("cls"); cout<<"nnttttMAIN MENUn"; cout<<"tttt~~~~~~~~~~~~nn"; cout<<"ttt1.Introductionnn"; cout<<"ttt2.View Booklistnn"; cout<<"ttt3.Add Booksnn"; cout<<"ttt4.Edit Menunn"; cout<<"ttt5.Search Booksnn"; cout<<"ttt6.Issue/ReturnBooksnn"; cout<<"ttt0.Close Applicationnnn"; cout<<"tttEnterYourChoice : " ; cin>>ch; switch(ch) { case '1': introduction(); break; case '2': list_of_books(); break; case '3': add_books(); break; case '4': edit_menu(); break; case '5': search_books(); break; case '6': issue_return(); case '0': { system("cls"); cout<<"nnttThankYouForUsing the Programn"; cout<<"ttExitingin3second...........>nnn";
  • 3. Sleep(3000); exit(0); } break; default: { cout<<"tttaaWrongEntry!!n"; cout<<"tttPleaseEnterCorrectOption"; if(getch()) main_menu(); } } } } protected: voidedit_menu() { char ch; while (1) { system("cls"); cout <<"nnttttEDITBOOKSn"; cout <<"tttt~~~~~~~~~~~~nn" ; cout <<"ttt1. Modifyn"; cout <<"ttt2. Deleten"; cout <<"ttt0. Main Menunn"; cout <<"tttEnterYour Choice :" ; cin>>ch; switch(ch) { case '1': modify_books(); break; case '2': delete_books(); break; case '0': main_menu(); break; default: { cout<<"tttaaWrongEntry!!n"; cout<<"tttPleaseEnterCorrectOption"; if(getch()) edit_menu(); } } } } voidissue_return() { char ch1; while (1) { system("cls"); cout <<"nnttttISSUE/RETURN BOOKSn"; cout <<"tttt~~~~~~~~~~~~~~~~~~nn" ;
  • 4. cout <<"ttt1. Issue Booksn"; cout <<"ttt2. ReturnBooksn"; cout <<"ttt0. Main Menunn"; cout <<"tttEnterYour Choice :" ; cin>>ch1; switch(ch1) { case '1': issue_books(); break; case '2': return_books(); break; case '0': main_menu(); break; default: { cout<<"tttaaWrongEntry!!n"; cout<<"tttPleaseEnterCorrectOption"; if(getch()) issue_return(); } } } } }; //*************************************************************************** // DEFINITIONSOFFUNCTIONSUSED IN CLASS"BookArchive" //*************************************************************************** //***************************** // FunctionToAddBooks //***************************** voidBookArchive::add_books() { char choice; do { system("cls"); cin.ignore(); cout<<"tADD BOOKSTO LIBRARY"; cout<<"nNEWBOOK ENTRY..."; cout<<"nnEnterBookCode:"; getline(cin,bookcode[bookcount]); cout<<"Enter Name of Book: "; gets(name[bookcount]); cout<<"Enter Author'sName:"; gets(author[bookcount]); cout<<"Enter Price:"; cin>>(price[bookcount]); cout<<"Enter Quantity:"; cin>>(quantity[bookcount]);
  • 5. cout<<"nnBOOKCREATED!!"; issue[bookcount]=0; bookcount++; cout<<"nnEnterAnotherBook?(y/n):"; cin>>choice; } while (choice=='Y'||choice=='y'); cout<<"Pressany keyto go back to Main Menu..."; getch(); } //***************************** // FunctionToShowBooksList //***************************** voidBookArchive::list_of_books() { system("cls"); cout<<"tLIST OF ALL LIBRARYBOOKS"; for(i=0; i<bookcount; i++) { cout<<endl<<endl; cout<<"Book Code:"; cout<<(bookcode[i])<<endl; cout<<"Book Name:"; puts(name[i]); cout<<"AuthorName:"; puts(author[i]); cout<<"Price:"<<price[i]<<endl; cout<<"Quantity:"<<quantity[i]<<endl<<endl; } if(i==0) cout<<"nNoBookRecord.nn"; cout<<"Pressany keytogo back to Main Menu..."; getch(); } //***************************** // FunctionToModifyBooks //***************************** voidBookArchive::modify_books() { char choice; stringbk_nmbr; do { system("cls"); cin.ignore(); cout<<"tBOOKMODIFYING PANELnn"; cout<<"Enter BookCode to Modify:"; getline(cin,bk_nmbr); cout<<"Searching....n"; Sleep(5000); for(i=0; i<bookcount; i++) if(bk_nmbr==bookcode[i]) {
  • 6. cout<<"ntBOOKRECORDFOUND!!nn"; cout<<"AddModifyingDetailsn"; cout<<"Enter BookCode:"; getline(cin,bookcode[i]); cout<<"Enter Name of Book: "; gets(name[i]); cout<<"Enter Author'sName:"; gets(author[i]); cout<<"Enter Price:"; cin>>(price[i]); cout<<"Enter Quantity:"; cin>>(quantity[i]); cout<<"nnBookwithCode '"<<bookcode[i]<<"'hasbeenModified.."; break; } if(i==bookcount) cout<<"nnNoSuchBookRecord isFound."; cout<<"nModifyAnotherBook?(y/n):"; cin>>choice; } while (choice=='y'||choice=='Y'); cout<<"Pressany keytogo back to Edit Menu..."; getch(); } //***************************** // FunctionToDelete Books //***************************** voidBookArchive::delete_books() { char choice; stringbk_nmbr; do { system("cls"); cin.ignore(); cout<<"tBOOKDELETING PANELnn"; cout<<"Enter BookCode to be Deleted:"; getline(cin,bk_nmbr); cout<<"Searching....n"; Sleep(5000); for(i=0; i<bookcount; i++) if(bk_nmbr==bookcode[i]) { cout<<"ntBOOKRECORDFOUND!!nn"; for(j=i ; j<bookcount;j++) { issue[j]=issue[j+1]; bookcode[j]=bookcode[j+1]; strcpy(name[j],name[j+1]); strcpy(author[j],author[j+1]); price[j]=price[j+1]; quantity[j]=quantity[j+1]; } bookcount-=1;
  • 7. cout<<"nnnBookRecordDeletedSuccessfully...n"; break; } if(i==bookcount) cout<<"nnNoSuchBookRecord isFound."; cout<<"nDelete AnotherBook?(y/n):"; cin>>choice; } while(choice=='y'||choice=='Y'); cout<<"Pressany keytogo back to Edit Menu..."; getch(); } //***************************** // FunctionToSearch Books //***************************** voidBookArchive::search_books() { char choice; stringbk_nmbr; do { system("cls"); cin.ignore(); cout<<"tBOOKSEARCHINGPANELnn"; cout<<"Enter BookCode to Search:"; getline(cin,bk_nmbr); cout<<"Searching....n"; Sleep(5000); for(i=0; i<bookcount; i++) if(bk_nmbr==bookcode[i]) { cout<<"ntBOOKRECORDFOUND!!nn"; cout<<"Complete BookDetailsn"; cout<<"Book Code:"; cout<<(bookcode[i])<<endl; cout<<"Book Name:"; puts(name[i]); cout<<"AuthorName:"; puts(author[i]); cout<<"Price:"<<price[i]<<endl; cout<<"Quantity:"<<quantity[i]<<endl; break; } if(i==bookcount) cout<<"nnNoSuchBookRecord isFound."; cout<<"nSearchAnotherBook?(y/n):"; cin>>choice; } while (choice=='y'||choice=='Y'); cout<<"Pressany keytogo back to Main Menu..."; getch(); } //*****************************
  • 8. // FunctionToIssue Books //***************************** voidBookArchive::issue_books() { char choice,choice1; stringbk_nmbr; do { system("cls"); cin.ignore(); cout<<"tBOOKISSUINGPANELnn"; cout<<"Enter BookCode to Issue:"; getline(cin,bk_nmbr); cout<<"Searching....n"; Sleep(5000); for(i=0; i<bookcount; i++) if(bk_nmbr==bookcode[i]) { cout<<"ntBOOKRECORDFOUND!!nn"; cout<<"Complete BookDetailsn"; cout<<"Book Code:"; cout<<(bookcode[i])<<endl; cout<<"Book Name:"; puts(name[i]); cout<<"AuthorName:"; puts(author[i]); cout<<"Price:"<<price[i]<<endl; cout<<"Quantity:"<<quantity[i]<<endl<<endl; if (quantity[i]>0) { cout<<"Do You Want to Issue ThisBook?(y/n):"; cin>>choice1; if (choice=='y'|| choice=='Y') issue[i]==1; quantity[i]--; cout<<"nBookwithCode '"<<bookcode[i]<<"'isIssuedn"; } else { cout<<"ThisBook isOut of Stockn"; } break; } if(i==bookcount) cout<<"nnNoSuchBookRecord isFound.n"; cout<<"nSearchAnotherBook?(y/n):"; cin>>choice; } while (choice=='y'||choice=='Y'); cout<<"Pressany keytogo back to Issue/ReturnMenu..."; getch(); } //***************************** // FunctionToReturnBooks //*****************************
  • 9. voidBookArchive::return_books() { char choice,choice1; stringbk_nmbr; do { system("cls"); cin.ignore(); cout<<"tBOOKRETURNING PANELnn"; cout<<"Enter BookCode to Return:"; getline(cin,bk_nmbr); cout<<"Searching....n"; Sleep(5000); for(i=0; i<bookcount; i++) if(bk_nmbr==bookcode[i]) { cout<<"ntBOOKRECORDFOUND!!nn"; cout<<"Complete BookDetailsn"; cout<<"Book Code:"; cout<<(bookcode[i])<<endl; cout<<"Book Name:"; puts(name[i]); cout<<"AuthorName:"; puts(author[i]); cout<<"Price:"<<price[i]<<endl; cout<<"Quantity:"<<quantity[i]<<endl<<endl; cout<<"Do You Want to ReturnThisBook?(y/n):"; cin>>choice1; if (choice=='y'|| choice=='Y') issue[i]==0; quantity[i]++; cout<<"nBookwithCode '"<<bookcode[i]<<"'hasbeenReturnedn"; break; } if(i==bookcount) cout<<"nnNoSuchBookRecord isFound.n"; cout<<"nSearchAnotherBook?(y/n):"; cin>>choice; } while (choice=='y'||choice=='Y'); cout<<"Pressany keytogo back to Issue/Return Menu..."; getch(); } //*************************************************************************** // PROGRAMEXECUTION THROUGH "MAIN"FUNCTION //*************************************************************************** intmain() { LibraryL; L.introduction(); L.main_menu(); }