Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 14

SHRIKRISHNA EDUCATION AND CULTURAL MANDAL’S

SHRI GULABRAO DEOKAR POLYTECHNIC,


Get no.26, Mohadi Shivar, Shirsoli Road, Jalgaon-425001

Micro Project on :-
Hospital Management System
Is submitted as per I scheme curriculum and the requirement
for the program: Diploma in computer Engineering.

Course Object Oriented


programming
Project Guide :-
Akshay Mungad Sir
Sr.No Group member name Roll no
1 1
2 2
3 3
4 4
Introduction
A library management system is software that is designed to manage all the functions of a
library. It helps librarian to maintain the database of new books and the books that are
borrowed by members along with their due dates.

This system completely automates all your library’s activities. The best way to maintain,
organize, and handle countless books systematically is to implement a library management
system software.

A library management system is used to maintain library records. It tracks the records of the
number of books in the library, how many books are issued, or how many books have been
returned or renewed or late fine charges, etc.

You can find books in an instant, issue/reissue books quickly, and manage all the data efficiently
and orderly using this system. The purpose of a library management system is to provide
instant and accurate data regarding any type of book, thereby saving a lot of time and effort.

-Program

#include <iostream.h>

#include<stdio.h>

using namespace std;

int
total=0;

string arr1[20],arr2[20],arr3[20],arr4[20],arr5[20];

void enter()
{

if(total==0)

int choice;

cout<<"How Many Book Do You Want Enter :" ;

cin>>choice;

total=total+choice;

for (int i=0; i<choice; i++)

cout<<"Enter Information Of Book :"<<i+1<<endl;

cout<<"Enter Number of Book : ";

cin>>arr1[i];

cout<<"Enter Name of book : ";

cin>>arr2[i]; cout<<"Enter Name

of Auther : "; cin>>arr3[i];

cout<<"Enter Total Page of Book :

"; cin>>arr4[i]; cout <<"Enter

Price of a Book : "; cin>>arr5[i];

cout<<endl<<endl;

}
} else {

int choice;

for (int i=total; i<choice; i++)

{
cout<<"Enter Information Of Book :"<<i+1<<endl;

cout<<"Enter Number of Book : ";

cin>>arr1[i];

cout<<"Enter Name of book : ";

cin>>arr2[i]; cout<<"Enter Name

of Auther : "; cin>>arr3[i];

cout<<"Enter Total Page of Book :

"; cin>>arr4[i]; cout <<"Enter

Price of a Book : "; cin>>arr5[i];

cout<<endl<<endl;

total=total+choice;

void show()

{
for(int i=0; i<total; i++)
{

cout<<":::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::"<<endl;

cout<<":::: Data Of Book : "<<i+1<<endl<<endl;

cout<<":::: Book No. : "<<arr1[i]<<endl;

cout<<":::: Name of Book : "<<arr2[i]<<endl;

cout<<":::: Name of Auther : "<<arr3[i]<<endl;

cout<<":::: Total No. of Book : "<<arr4[i]<<endl;

cout<<":::: Price of book :

"<<arr5[i]<<endl<<endl;

cout<<":::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::"<<endl;

void view()

string rollno;

cout<< "Enter A Number You Want Search : ";

cin>>rollno;

for(int i=0; i<total; i++)

if(rollno == arr1[i])
{

cout<<":::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::"<<endl;

cout<<"::::Data Of Book : "<<i+1<<endl<<endl;

cout<<"::::Book No. : "<<arr1[i]<<endl; cout<<"::::Name of


Book : "<<arr2[i]<<endl; cout<<"::::Name of Auther :

"<<arr3[i]<<endl; cout<<"::::Total No. of Book :

"<<arr4[i]<<endl; cout<<"::::Price of book :

"<<arr5[i]<<endl<<endl;

cout<<"::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:::::"<<endl;

void update()

string rollno;

cout<< "Enter a roll no you want search you : ";

cin>>rollno;

for(int i=0; i<total; i++)

if(rollno == arr1[i])
{

cout<< "::::::::::::::::Privous Data"<<endl<<endl;

cout<<"Book No. : "<<arr1[i]<<endl;

cout<<"Name of Book : "<<arr2[i]<<endl;

cout<<"Name of Auther : "<<arr3[i]<<endl;

cout<<"Total No. of Book : "<<arr4[i]<<endl;

cout<<"Price of book :
"<<arr5[i]<<endl<<endl;

cout <<"\nEnter New Data"<<endl;

cout<<"Enter Number of Book : ";

cin>>arr1[i]; cout<<"Enter Name

of book : "; cin>>arr2[i];

cout<<"Enter Name of Auther : ";

cin>>arr3[i]; cout<<"Enter Total

Page of Book : "; cin>>arr4[i]; cout

<<"Enter Price of a Book : ";

cin>>arr5[i];

void deleterecord()
{ int a;

cout<<"1) delete all record"<<endl;

cout<<"2) delete sepcific record"<<endl<<endl;

cin>>a;

if (a==1)

total=0;

cout<<"delete all record"<<endl;

} else {

string rollno;
cout<<"Enter which Number you want to delete :";

cin>>rollno;

for (int i=0; i<total; i++)

if (rollno==arr1[i])

for(int j=i; j<total; j++)

arr1[i]=arr1[j+1

];

arr2[i]=arr2[j+1

];

arr3[i]=arr3[j+1

];

arr4[i]=arr4[j+1

];

arr5[i]=arr5[j+1

];
}

total--;
cout<<"\nyour requird record delete\n.";

}
int main()

int value;

cout<< " *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*"<<endl;

cout<< " * * "<<endl;

cout<< " * :::::::::::::::: LIBRARY MANAGEMENT ::::::::::::::::::: * "<<endl;

cout<< " * * "<<endl;

cout<< " * * "<<endl;

cout<< " * www.Xyzlibrary.co.in * "<<endl;


cout<< " *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* "<<endl;

while(true)

int value;
cout<<endl<
<endl<<endl
<<endl;

cout<<":::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::"<<endl;

cout<<":::::: 1) Add Book"<<endl;

cout<<":::::: 2) Show Book"<<endl;

cout<<":::::: 3) Search Book"<<endl;

cout<<":::::: 4) Update Book"<<endl;

cout<<":::::: 5) Delete Data"<<endl;

cout<<":::::: 6) Exit"<<endl;

 cout<<":::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::"<<endl;

cout<<"\n* Enter your choice : ";


cin>>value;
switch (value)

case 1 :
enter();

break; case

2 : show();

break; case

3 : view();

break; case

4 : update();

break;

case 5 :

deleterecord();

break; case 6 :

exit(0);

break;

default:"invaild Input"
;

- Output
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
* *

* :::::::::::::::: LIBRARY MANAGEMENT ::::::::::::::::::: *


* *
* *
* www.Xyzlibrary.co.in *

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:::::: 1) Add Book

:::::: 2) Show Book

:::::: 3) Search Book

:::::: 4) Update Book

:::::: 5) Delete Data

:::::: 6) Exit

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

* Enter your choice :

-Advantage and Disadvantage of library


management system
▪ Increase librarian’s efficiencies

▪ Mobile access, anytime, anywhere

▪ Search, add, update, and view library materials online

▪ Helps to manage library functions constructively

▪ Saves time and reduces overheads

▪ Reduce library’s operating cost

▪ Customized reports for better management

▪ Remove manual processes to issue books and maintain records


The advantage of library management software outweigh the disadvantages.
But, there are few disadvantages factors are associated with the system.

▪ Online stored data is predisposed to cyber hacks. Opting for a reliable online system reduces the risk

▪ sometimes it is complicated to operate for first-time users

▪ Requires high-speed internet connectivity for a web-based system

▪ Risk of computer virus

▪ Unlike online system that use cloud computing, Open source system stocks data on the computer’s
hard drive. This raises the risk of data loss.

-Conclusion
▪ The Library Management System allows the user to store the book details and the person's details.

▪ This software allows storing the details of all the data related to
library.
▪ The implementation of the system will reduce data entry time and provide readily calculated
reports.Simple and easy to operate

You might also like