[go: up one dir, main page]

0% found this document useful (0 votes)
192 views43 pages

Library Management System

The document describes a library management system project that was developed using Turbo C++. The project aims to more effectively and efficiently manage basic library operations like adding new members and books, updating information, searching for books, and tracking books that have been issued and returned by students. It discusses features of library management systems like customizable interfaces and pre-defined reports. It also outlines tasks for librarians like issuing and returning books, and tasks for library staff like adding new records and checking books in and out. The methodology section describes using C++ to develop a computerized system to replace a manual paper-based system for library staff.

Uploaded by

MaryUm NoOr
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
192 views43 pages

Library Management System

The document describes a library management system project that was developed using Turbo C++. The project aims to more effectively and efficiently manage basic library operations like adding new members and books, updating information, searching for books, and tracking books that have been issued and returned by students. It discusses features of library management systems like customizable interfaces and pre-defined reports. It also outlines tasks for librarians like issuing and returning books, and tasks for library staff like adding new records and checking books in and out. The methodology section describes using C++ to develop a computerized system to replace a manual paper-based system for library staff.

Uploaded by

MaryUm NoOr
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 43

December 15

ENGLISH
2018
LIBRARY MANAGEMENT
SYSTEM PROJECT
Abstract
The project titled Library Management System is Library
management software for controlling the transaction in a library.
Now-a-days most of the schools and institutions have large libraries
and students frequently issue books, so librarians often find it
difficult to manage the process manually. The project “Library
Management System” is a windows application written for 32-bit
Windows operating systems and developed in Turbo C++ 3.0,
which mainly focuses on basic operations in a library like adding new
member, new books, and updating new information, searching
books, other details of books that are issued by a student and facility
to borrow and return books.
TABLE OF CONTENTS

SI.No Contents
1 Introduction
1.1 Requirements
1.2 Aims and Objectives
1.3 Problem Statement
1.4 Scope of project
2 Literature Review
2.1 Features
2.2 Why we need it
2.3 Task of Librarian
2.4 Task of Library staff
3 Methodology
3.1 Result
3.2 Discussion
3.3 Limitation
4 Data Analysis
5 Conclusion
6 Reference
1. INTRODUCTION Chapter#1

A Library management system additionally referred to as an


automatic library system is software system that has been developed
to handle basic functions of library. This project is on a way to
perform library management effectively, quick and easily. It’s a well-
organized software package resolution for a library.
The system facilitates each student and library manager to stay a
continuing track of the entire books out there within the library. It
permits each the admin and also the student to go looking for
specified book. It keeps a list of book issued, returned and added to
library.

1.1 REQUIREMENTS
 The Library Management System is needed to take care of data
regarding its users and books.
 It stored database for students and books.
 The student database stored information about a student’s ID
no, name.
 The book database stored information about a book no, book
name, book author.

1.2 AIMS AND OBJECTIVE


 To eliminate the paper work in library.
 To record all dealing in processed system so that drawback like
record file missing will not be happen.
 To design a user friendly graphical program that suits the user.
 To save the cost and time.

1.5 PROBLEM STATEMENT


In past library staff might find it difficult to manage all information
regarding to a students and books but now-a-days it’s become a very
easier task to gather all information in one place related to any
student or books in library by using this tool. What motivated me to
embark on this project

1.4 SCOPE OF PROJECT


 To make current system more efficient.
 To give a student interactive environment where student
can be serviced better.
 Make management system of library faster.
 Provide a system where the library staff can catch
defaulters and not let them escape.
 To reduce the loss that is done to the books.

2. LITERATURE REVIEW Chapter #2


For centuries, man has tried to collate, store, and retrieve data and
most significantly analysis of the data before communicate it by the
available quick test mean. It follows, therefore that man has tried
various ways and methods to record analyses and circularize data in
his attempt to proffer solution to low security of data, effective data
analysis and lot more. Therefore information that have been
processed into a meaningful form contains data that reduce
uncertainly in particular and it is most useful in decision making. But
unfortunately most people in this country do not have effective
means of information management; the departmental library is a
typical example of such. About The Old System Library is a place
where books are kept for student lecturers to come and read or
borrow to their various home reading, for the security of these books
records of library user are needed to kept likewise record of available
books in library are also needed to kept. The most important part of
it is that the library attendant must keep record of who borrows and
what type of book someone borrowed along with the time in order
to keep track of the book in library. For the improvements of library
or updating of the library book, read and unread books are needed
top kept so as to know which book to get more into library and also
to know in which author students like to read their book and lot
more. All the above activities are done manually; it also involves
someone writing down the name of the library users and lists of
books in the library, even to the extents of counting the number a
book is read which can be inaccurate and also exposes the book to
risk of missing.
Library project system provides several versatile features, allowing
library staff and its user to maximize time and efficiency. This system
provides all detailed information about students and books. It also
tracked that how many books are available in library and books
issued to the students. It shows that which book is popular among
students and also provide loss of book in library. It keeps the record
of both the student and the books.
2.1 FEATURES OF LIBRARY MANAGEMENT SYSTEM

o Only basic information of computer is needed for operation of


Library Management system because it as easy application
interfaces.
o Library Management System is customizable and user
configurable.
o It was developed on .NET technology-one of the most latest
upcoming technologies in the field of information technology.
o This system brings information to the user’s desktop through
integration across all modules.
o Library Management System has pre-defined reports. These are
used for normal reporting as well as Administration and Staff
development purpose. In addition Library Management System
can be easily customized for his/her own customize reports.
o A books as well as students record is maintained.
o Newspaper attendance is maintained.
o Automatic Fine.
o Keeps records of students and books.

2.2 Why we need it?

o Through greater access to accurate information improved


student service.
o For storing and keeping track of information more
economically.
o Easier access to information like management reports as well as
more accurate and faster results from statistical analysis.
o Reduce errors.
o To improved efficiency and effectiveness in administration
because it has unprecedented access to real time information.
2.3 TASK OF LIBRARIAN

 Issues Books
 Return Books

2.4 TASK OF LIBRARY STAFF

 Add New Member/Book


 View Member Details
 Display/Update All Student Records
 Delete/Modify All Student Records
 Search For a Book/Member
 Check In/Out Book
 Pay Late Fee
 View Book Details
 Display/Update All Book Records
 Delete/Modify All Book Records

METHODOLOGY Chapter#3

C language was developed in 1970 by Dennis Ritche. In C


language, new features like data typing and many other
functions were introduced. C language was developed as a
computer independent language. A program written in C
language can be run on any computer. C++ was developed by
Bjame Stoustrup in 1980. It was an extension of C, C++ enable
programmers to improve the quality of code. It includes object
oriented programming. The source code of a C++ program is
stored on the disk with file extension CPP( CPP stands for c plus
plus). The Borland C++ and Turbo C++ have their own editor for
writing the source code. The C++ compiler translates a C++
source code into a machine code. The C++ compiler translates a
C++ source code program into the machine code. The machine
code is also called object code. This project gives a new
introduction of a computerized system to the library staff
members to do their work on a simple computerized system
instead of a complicated manual system, and finding and
storing data in registers and files (on paper). This project will
only facilitate the staff members of Library. The project's main
purpose was concerned with the investigation of the use of
transaction logs and other methods for the evaluation of online
catalogues. This chapter describes the two phases of the
methodological approach adopted for the study. In the first
phase, field tests of a basic screen logging facility were
undertaken which led to the specification of an enhanced
logging version and the formulation of test research questions.
A set of evaluative experiments were then carried out in the
second phase to explore various methods of addressing the
different test research questions.

3.1 Evaluation: the user perspective


The critical review presented in the previous chapter highlights
the problems of evaluating library catalogues from the user's
perspective. Online catalogues could be evaluated in terms of
system performance by testing retrieval effectiveness through
search outcomes or measures of recall and precision. However
our concern here is to focus on the user and the insight which
could be gained into user information seeking behavior,
particularly through transaction log analysis as well as other
methods of eliciting information from users. User performance
is thus seen as the means of evaluating catalogue performance.
Moreover a holistic approach to the information retrieval task is
also adopted, whereby the entire search process is taken into
account, including activities which lead to or follow the
catalogue consultation.

3.2 Transaction log analysis limitations


The methodological shortcomings of transaction log analysis
were touched upon in section 2.2.4. These include difficulties in
identifying individual search sessions, the sheer volume of data
to process and analyses and the limitations in the type of data
collected. Results to date have provided little qualitative insight
on how the data can be interpreted in terms of user searching
behavior and the interactive nature of the information retrieval
task.
DATA ANALYSIS Chapter#4

In this program we had different options. We used different keys for


different purposes. The keys required purposes are as follows:
1. Press 1 to issues the book.
2. Press 2 to return the book.
3. Press 3 to update student record.
4. Press 4 to update book records.
5. Press 5 to exit from the program.
The above mentioned purposes also required information. It means
that if a student wants to issue a book we had to press 1 than we
have to enter the ID number of a particular student who wants to
issue a book. On entering the ID number of student we will get the
records of that student on screen. If for example computer will say
that “Record does no exit”, than it means we have not entered the
records of a person before. So, before starting from press 1 we had
to create a student or books records and for that we had to press 3
for updating student records. After pressing press 3 we have
required following options on screen:
1. Press 1 to create student record.
2. Press 2 to display all students records
3. Press 3 to display specific student records
4. Press 4 to modify student record
5. Press 5 to delete student record
6. Press 6 to go back to main menu

Now we had to press 1 to create a student records. In records we had


required student ID number and student name. After entering name
and ID our records have been created successfully. If we want to
make more records we press 1. Otherwise we had move back
towards main menu by pressing 2.

For displaying all records of students we had to press 2.

If we want to display some specific records of student then we have


to press 3. Now after pressing 3 we must entered the ID number of
that specific student and then we get the detail of that specific
student his/her name, his/her ID number, number of books issued,
return book.

If we want to modify or edit the records of a student’s we must


press key 4 and then entered the ID number and then we got an
options on screen that is “to enter new details of a student”. After
modifying the details it will “updated successfully”.

If we want to delete the records of a student we must press 5 and


then entered ID number of that particular student.

And press 6 to go back to main menu.


Now, if a student wants to issues a book, the records of a book is also
necessary. For this purpose press 4 in main menu ant then different
options had being displayed on the screen:
1. Press 1 to create a book.
2. Press 2 to display all book.
3. Press 3 to display specific book.
4. Press 4 to modify book
5. Press 5 to delete book
6. Press 6 to go back to main menu
For creating the records of a book first press 1 and then entered book
number, book name and author’s name. After entering the above
information about book our records had being created successfully.
For creating more books record with their required information press
1 again otherwise press 2 to go back to main menu.

Now for displaying all books record press 2, we got the list of books
along with their details on screen.

For displaying specific book press 3 and entered number of that book
and then got the required information/records of that specific book
automatically.
For modifying the records of any of the book press 4 and then
entered book number. After entering book number we can change
anything about book e.g its author or its names. After
editing/modification your modified records had being saved
automatically.

For deleting book, press 5 and then entered Book number of that
particular book.

And press 6, to go back to main menu. After pressing 6, main menu


screen will be displayed.
Now we had to Press 1 to issue book. After pressing, a screen
appeared and then we had to write the ID number of that student
who wants to issue a book after that we must have to write the book
number of that book then the book is issued to that student.

Now we had to press 2 to return book. After pressing then we had to


write the ID number of that student all information regarding that
student appeared on screen Book number, Book name, Author’s
name and Book returned in number of days. If book returned in no.
of days Is greater than or equal to 30 than the student should have to
pay a fine of 15 rupees but the book is returned in less than 30 days
than no charges is applied on a student.
In last press 5 to exit program

PROGRAM
IMPLEMENTATION
#include<fstream>

#include<conio.h>

#include<string.h>

#include<iomanip>

#include<iostream>
using namespace std;

class book

char book_number[30];

char book_name[50];

char author_name[20];

public:

void create_book()

cout<<"\nEnter The Book Number: ";

cin>>book_number;

cout<<"\nEnter The Name of The Book: ";

cin.ignore();

cin.getline(book_name,50);

cout<<"\nEnter The Author's Name: ";

cin.ignore();

cin.getline(author_name,50);

cout<<"\t\t\n\nBook Created Successfully...";

void show_book()

cout<<"\nBook Number: "<<book_number;

cout<<"\nBook Name: "<<book_name;

cout<<"\nAuthor's Name: "<<author_name;

}
void modify_book()

cout<<"\nBook number : "<<book_number;

cout<<"\nModify Book Name : ";

cin.ignore();

cin.getline(book_name,50);

cout<<"\nModify Author's Name: ";

cin.ignore();

cin.getline(author_name,50);

char* getbooknumber()

return book_number;

void report()

{cout<<book_number<<setw(30)<<book_name<<setw(30)<<author_name<<endl;}

};

class student

char ID_number[20];

char Student_name[20];

char stbno[6];

int token;

public:

void create_student()

{
cout<<"\nEnter The ID Number ";

cin>>ID_number;

cout<<"\n\nEnter The Name of The Student: ";

cin>>Student_name;

token=0;

stbno[0]='/0';

cout<<"\t\t\n\nStudent Record Created Successfully...";

void show_student()

cout<<"\nID Number: "<<ID_number;

cout<<"\nStudent Name: ";

puts(Student_name);

cout<<"\nNo of Book issued: "<<token;

if(token==1)

cout<<"\nBook No "<<stbno;

void modify_student()

cout<<"\nID Number: "<<ID_number;

cout<<"\nModify Student Name: ";

cin.ignore();

cin.getline(Student_name,50);

char* get_ID_number()

{
return ID_number;

char* retstbno()

return stbno;

int rettoken()

return token;

void addtoken()

{token=1;}

void resettoken()

{token=0;}

void getstbno(char t[])

strcpy(stbno,t);

void report()

{cout<<"\t"<<ID_number<<setw(20)<<Student_name<<setw(10)<<token<<endl;}

};

fstream fp,fp1;

book bk;

student st;

void write_book()

{
system("cls");

int more_or_main;

fp.open("book.dat",ios::out|ios::app);

do

bk.create_book();

fp.write((char*)&bk,sizeof(book));

cout<<"\nPress 1 to add more books.";

cout<<"\nPress 2 to return to main menu.\n";

cout<<"Enter: ";

cin>>more_or_main;

}while(more_or_main == 1);

fp.close();

void write_student()

system("cls");

int more_or_main;

fp.open("student.dat",ios::out|ios::app);

do

st.create_student();

fp.write((char*)&st,sizeof(student));

cout<<"\nPress 1 to add more students.";

cout<<"\nPress 2 to return to main menu.\n";

cout<<"Enter: ";
cin>>more_or_main;

}while(more_or_main == 1);

fp.close();

void display_a_book(char n[])

system("cls");

cout<<"\nBOOK DETAILS\n";

int check=0;

fp.open("book.dat",ios::in);

while(fp.read((char*)&bk,sizeof(book)))

if(strcmpi(bk.getbooknumber(),n)==0)

bk.show_book();

check=1;

fp.close();

if(check==0)

cout<<"\n\nBook does not exist";

getch();

void display_a_student(char n[])

system("cls");
cout<<"\nSTUDENT DETAILS\n";

int check=0;

fp.open("student.dat",ios::in);

while(fp.read((char*)&st,sizeof(student)))

if((strcmpi(st.get_ID_number(),n)==0))

st.show_student();

check=1;

fp.close();

if(check==0)

cout<<"\n\nStudent does not exist";

getch();

void modify_book()

system("cls");

char n[20];

int found=0;

cout<<"\n\n\tMODIFY BOOK";

cout<<"\n\n\tEnter The book number: ";

cin>>n;

fp.open("book.dat",ios::in|ios::out);

while(fp.read((char*)&bk,sizeof(book)) && found==0)


{

if(strcmpi(bk.getbooknumber(),n)==0)

bk.show_book();

cout<<"\nEnter The New Details of book"<<endl;

bk.modify_book();

int pos=-1*sizeof(bk);

fp.seekp(pos,ios::cur);

fp.write((char*)&bk,sizeof(book));

cout<<"\n\n\t Record Updated Successfully...";

found=1;

fp.close();

if(found==0)

cout<<"\n\n Record Not Found ";

getch();

void modify_student()

system("cls");

char n[20];

int found=0;

cout<<"\n\n\tMODIFY STUDENT RECORD... ";

cout<<"\n\n\tEnter Student's ID number: ";

cin>>n;
fp.open("student.dat",ios::in|ios::out);

while(fp.read((char*)&st,sizeof(student)) && found==0)

if(strcmpi(st.get_ID_number(),n)==0)

st.show_student();

cout<<"\nEnter The New Details of student"<<endl;

st.modify_student();

int pos=-1*sizeof(st);

fp.seekp(pos,ios::cur);

fp.write((char*)&st,sizeof(student));

cout<<"\n\n\t Record Updated Successfully...";

found=1;

fp.close();

if(found==0)

cout<<"\n\n Record Not Found ";

getch();

void delete_student()

system("cls");

char n[20];

int flag=0;

cout<<"\n\n\n\tDELETE STUDENT";
cout<<"\n\nEnter The ID number of the Student You Want To Delete: ";

cin>>n;

fp.open("student.dat",ios::in|ios::out);

fstream fp2;

fp2.open("Temp.dat",ios::out);

fp.seekg(0,ios::beg);

while(fp.read((char*)&st,sizeof(student)))

if(strcmpi(st.get_ID_number(),n)!=0)

fp2.write((char*)&st,sizeof(student));

else

flag=1;

fp2.close();

fp.close();

remove("student.dat");

rename("Temp.dat","student.dat");

if(flag==1)

cout<<"\n\n\tRecord Deleted ..";

else

cout<<"\n\nRecord not found";

getch();

void delete_book()

system("cls");
char n[20];

int flag=0;

cout<<"\n\n\n\tDELETE BOOK";

cout<<"\n\nEnter The Book's number You Want To Delete: ";

cin>>n;

fp.open("book.dat",ios::in|ios::out);

fstream fp2;

fp2.open("Temp.dat",ios::out);

fp.seekg(0,ios::beg);

while(fp.read((char*)&bk,sizeof(book)))

if(strcmpi(bk.getbooknumber(),n)!=0)

fp2.write((char*)&bk,sizeof(book));

else

flag=1;

fp2.close();

fp.close();

remove("book.dat");

rename("Temp.dat","book.dat");

if(flag==1)

cout<<"\n\n\tRecord Deleted ..";

else

cout<<"\n\nRecord not found";


getch();

void display_all_students()

system("cls");

fp.open("student.dat",ios::in);

if(!fp)

cout<<"ERROR!!! FILE COULD NOT BE OPEN ";

getch();

return;

cout<<"\n\n\t\tSTUDENT LIST\n\n";

cout<<"==================================================================\n";

cout<<"\tID Number."<<setw(10)<<"Name"<<setw(20)<<"Book Issued\n";

cout<<"==================================================================\n";

while(fp.read((char*)&st,sizeof(student)))

st.report();

fp.close();

getch();

void display_allb()

{
system("cls");

fp.open("book.dat",ios::in);

if(!fp)

cout<<"ERROR!!! FILE COULD NOT BE OPEN ";

getch();

return;

cout<<"\n\n\t\tBook LIST\n\n";

cout<<"======================================================================
===\n";

cout<<"Book Number"<<setw(20)<<"Book Name"<<setw(25)<<"Author\n";

cout<<"======================================================================
===\n";

while(fp.read((char*)&bk,sizeof(book)))

bk.report();

fp.close();

getch();

void issue_book()

system("cls");

char sn[20],bn[20];

int found=0,flag=0;
cout<<"\t\t\nBOOK ISSUE";

cout<<"\n\n\tEnter student's ID number: ";

cin>>sn;

fp.open("student.dat",ios::in|ios::out);

fp1.open("book.dat",ios::in|ios::out);

while(fp.read((char*)&st,sizeof(student)) && found==0)

if(strcmpi(st.get_ID_number(),sn)==0)

found=1;

if(st.rettoken()==0)

cout<<"\n\n\tEnter book number: ";

cin>>bn;

while(fp1.read((char*)&bk,sizeof(book))&& flag==0)

if(strcmpi(bk.getbooknumber(),bn)==0)

bk.show_book();

flag=1;

st.addtoken();

st.getstbno(bk.getbooknumber());

int pos=-1*sizeof(st);

fp.seekp(pos,ios::cur);

fp.write((char*)&st,sizeof(student));

cout<<"\n\n\t Book issued successfully...";


}

if(flag==0)

cout<<"Book number does not exist";

else

cout<<"You have not returned the last book ";

if(found==0)

cout<<"Student record not exist...";

getch();

system("cls");

fp.close();

fp1.close();

void book_return()

system("cls");

char sn[20],bn[20];

int found=0, flag=0, day, fine;

cout<<"\t\tRETURN BOOKS\n";

cout<<"\n\n\tEnter The student’s ID Number: ";

cin>>sn;

fp.open("student.dat",ios::in|ios::out);

fp1.open("book.dat",ios::in|ios::out);
while(fp.read((char*)&st,sizeof(student)) && found==0)

if(strcmpi(st.get_ID_number(),sn)==0)

found=1;

if(st.rettoken()==1)

while(fp1.read((char*)&bk,sizeof(book))&& flag==0)

if(strcmpi(bk.getbooknumber(),st.retstbno())==0)

bk.show_book();

flag=1;

cout<<"\n\nBook returned in no. of days";

cin>>day;

if(day>15)

fine=(day-15)*1;

cout<<"\n\nThe Book is last. You have to pay a fine of "<<fine;

st.resettoken();

int pos=-1*sizeof(st);

fp.seekp(pos,ios::cur);

fp.write((char*)&st,sizeof(student));

cout<<"\n\n\t Book returned successfully...";

}
}

if(flag==0)

cout<<"Book number does not exist";

else

cout<<"No book is issued..please check!!";

if(found==0)

cout<<"Student record not exist...";

getch();

system("cls");

fp.close();

fp1.close();

void intro()

system("color 07");

system("cls");

cout<<"\t\t\t\t*\t*";

cout<<"\t\t\t\t**\t**";

cout<<"\t\t\t\t***\t***";

cout<<"\t\t\t\t****\t****";

cout<<"\t\t\t\t*****\t*****";

cout<<"\t\t\t\t******\t******";

cout<<"\t\t\t\t*******\t*******";
cout<<"\t\t\t\t*******\t*******";

cout<<"\t\t\t\t******\t******";

cout<<"\t\t\t\t*****\t*****";

cout<<"\t\t\t\t****\t****";

cout<<"\t\t\t\t***\t***";

cout<<"\t\t\t\t**\t**";

cout<<"\t\t\t\t*\t*";

void book_menu()

int option;

cout<<"\t\t@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@";

cout<<"\n\t\tPress 1 to CREATE BOOKS";

cout<<"\n\t\tPress 2 to DISPLAY ALL BOOKS";

cout<<"\n\t\tPress 3 to DISPLAY SPECIFIC BOOK";

cout<<"\n\t\tPress 4 to MODIFY BOOKS";

cout<<"\n\t\tPress 5 to DELETE BOOKS";

cout<<"\n\t\tPress 6 to GO BACK TO MAIN MENU";

cout<<"\n\t\t@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@\n";

cout<<"\n\t\tOption: ";

cin>>option;

switch(option)

case 1: system("cls");
write_book();

break;

case 2: display_allb();

break;

case 3:

char num[20];

system("cls");

cout<<"\n\n\tPlease Enter The book No. ";

cin>>num;

display_a_book(num);

break;

case 4: modify_book();break;

case 5: delete_book();break;

case 6: system("cls");

break;

default:cout<<"\a";

void student_menu()

int option;

cout<<"\t\t@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@";

cout<<"\n\t\tPress 1 to CREATE STUDENT RECORD";

cout<<"\n\t\tPress 2 to DISPLAY ALL STUDENTS RECORD";

cout<<"\n\t\tPress 3 to DISPLAY SPECIFIC STUDENT RECORD";


cout<<"\n\t\tPress 4 to MODIFY STUDENT RECORD";

cout<<"\n\t\tPress 5 to DELETE STUDENT RECORD";

cout<<"\n\t\tPress 6 to GO BACK TO MAIN MENU";

cout<<"\n\t\t@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@\n";

cout<<"\n\t\tOption: ";

cin>>option;

switch(option)

case 1: system("cls");

write_student();

break;

case 2: system("cls");

display_all_students();

break;

case 3:

char num[20];

system("cls");

cout<<"\n\n\tPlease Enter The ID Number: ";

cin>>num;

display_a_student(num);

break;

case 4:system("cls");

modify_student();break;

case 5: system("cls");
delete_student();break;

case 6:

break;

default:cout<<"\a";

int main()

int option = 0;

for(;;)

intro();

cout<<"\t\t@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@";

cout<<"\n\t\tPress 1 to ISSUE BOOKS";

cout<<"\n\t\tPress 2 to RETURN BOOKS";

cout<<"\n\t\tPress 3 to UPDATE STUDENT RECORDS";

cout<<"\n\t\tPress 4 to UPDATE BOOK RECORDS";

cout<<"\n\t\tPress 5 to TO EXIT";

cout<<"\n\t\t@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@\n";

cout<<"\n\t\tOption: ";

cin>>option;

switch(option)

case 1:system("cls");
issue_book();

break;

case 2:system("cls");

book_return();

break;

case 3:system("cls");

student_menu();

break;

case 4:system("cls");

book_menu();

break;

case 5:exit(0);

break;

default :cout<<"\a";

exit(0);

}
CONCLUSION
The project LIBRARY MANAGEMENT SYSTEM is for
computerizing the work in a library. This System allows the
user to store book details and the student details. This
software takes care of all the needs of a library and is capable
to provide easy and effective storage of information
associated with books and user. The implementation of this
software in organization is to reduce data entry, time and
also provide readily calculated reports. This was an effort to
develop a simple Library Management System which can be
helpful in a Library to insert, store, handle and retrieve
information about books and students.
REFRENCE

http://sigir.org/files/museum/pub-30/15.pdf

You might also like