Accreditation

Published on June 2016 | Categories: Types, Books - Non-fiction | Downloads: 52 | Comments: 0 | Views: 552
of 49
Download PDF   Embed   Report

a detailed and complete project for libarary mangement

Comments

Content

INTEGRATED LIBRARY
MANAGEMENT
COMPUTER PROJECT { C++}

2013-2014

1 | Page

JAWAHAR HIGHER SECONDARY SCHOOL
NEYVELI

BONAFIDE CERTIFICATE

NAME

:

………………………………………….

CLASS

:

………………………………………….

SUBJECT

:

..………………………………………..

REGISTRATION NO :

…………………………………………

It is certified that this is a bonafide project work by the above
mentioned student in the subject of Computer Science in the
laboratory of Jawahar Higher Secondary School, Neyveli.

Submitted for the practical examination held on …………………………

INTERNAL EXAMINER

EXTERNAL EXAMINER
2 | Page

ACCREDITATION
It is with real pleasure that I record my indebtness to our

Principal Mrs.SETHUMANI M.Sc,B.Ed. and STAFF
MEMBERS for their counsel and guidance for the preparation of
the project.

I extend my sincere thanks to Mrs. SUJATHA
(DCSE.,MCA.,BEd) our computer teacher for giving a lot of
consideration and guidance in developing our project. The
guidance she had been giving me regarding the from time to
time had been great help and without which the completion
of the project would have been difficult.

3 | Page

INDEX
SL.NO

CONTENTS

1.

SYNPOSIS

2.

SYSTEM REQUIREMENTS
 SOFTWARE
 HARDWARE

requirements
requirements

PAGE NO

5

6

3.

CLASS DETAILS

7

4.

PROGRAM

8

5.

SCREEN LAYOUT
OUTPUT

34

6.

BIBLIOGRAPHY

48

4 | Page

SYNPOSIS
Our project deals with Library management which helps in
Improving the latest technology and reducing the working
difficulty of a librarian.
Our project helps you in maintaining the Students records
and list and records of books in stock.
Additionally separate passwords for login and for
administrator are available ensuring safety and avoiding
misusing.
The interactive and explanatory user screen which does not
require a person who know to work with C++,a normal
layman who can operate computer is enough.

5 | Page

SYSTEM REQUIREMENTS

HARWARE REQUIREMENTS:
1GB RAM
INTEL i3 PROCESSOR
15 INCH COLOR MONITOR
102 TVSE KEYWORD
ZEBRONIC MOUSE

SOFTWARE REQUIREMENTS:
DISK OPERATING SYSTEM
TURBO C++
6 | Page

CLASS DETAILS
Private:
Char

Book

STUDENT

Public:
Void create_book().
Void show_book().
Void modify_book().
Void report().
Private:
Char.
Public:
Void create_student().
Void show_student().
Void modify_student().
Void addtoken().
Void resettoken().
Void getstbno().
Void report().

7 | Page

PROGRAM
//***************************************************************
//
HEADER FILES USED IN PROJECT
//****************************************************************
#include<iostream.h>
#include<conio.h>
#include<graphics.h>
#include<malloc.h>
#include<dos.h>
#include<fstream.h>
#include<stdlib.h>
#include<string.h>
#include<stdio.h>
#include<iomanip.h>
//***************************************************************
//
CLASS USED IN PROJECT
//****************************************************************

class book
{
char bno[6];
char bname[50];
char aname[20];
public:
void create_book()
{
cout<<"\nNEW BOOK ENTRY...\n";
cout<<"\nEnter The book no.";
cin>>bno;
cout<<"\n\nEnter The Name of The Book: ";
gets(bname);
8 | Page

cout<<"\n\nEnter The Author's Name: ";
gets(aname);
cout<<"\n\n\nBook Created..";
}
void show_book()
{
cout<<"\nBook no. : "<<bno;
cout<<"\nBook Name : ";
puts(bname);
cout<<"Author Name : ";
puts(aname);
}
void modify_book()
{
cout<<"\nBook no. : "<<bno;
cout<<"\nModify Book Name : ";
gets(bname);
cout<<"\nModify Author's Name of Book : ";
gets(aname);
}
char* retbno()
{
return bno;
}
void report()
{
cout<<bno<<setw(30)<<bname<<setw(30)<<aname<<endl;}
};

//class "book" ends here

class student
9 | Page

{
char admno[6];
char name[20];
char stbno[6];
int token;
public:
void create_student()
{
clrscr();
cout<<"\nNEW STUDENT ENTRY...\n";
cout<<"\nEnter The admission no. ";
cin>>admno;
cout<<"\n\nEnter The Name of The Student: ";
gets(name);
token=0;
stbno[0]='/0';
cout<<"\n\nStudent Record Created..";
}
void show_student()
{
cout<<"\nAdmission no. : "<<admno;
cout<<"\nStudent Name : ";
puts(name);
cout<<"\nNo of Book issued : "<<token;
if(token==1)
cout<<"\nBook No "<<stbno;
}
void modify_student()
{
cout<<"\nAdmission no. : "<<admno;
cout<<"\nModify Student Name : ";
gets(name);
}
char* retadmno()
{
return admno;
10 | P a g e

}
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"<<admno<<setw(20)<<name<<setw(10)<<token<<en
dl;}
};

//class "student" ends here

//***************************************************************
// global declaration for stream object, object
//****************************************************************
fstream fp,fp1;
book bk;
student st;
11 | P a g e

//***************************************************************
// function to write in file
//****************************************************************
void write_book()
{
char ch;
fp.open("book.dat",ios::out|ios::app);
do
{
clrscr();
bk.create_book();
fp.write((char*)&bk,sizeof(book));
cout<<"\n\nDo you want to add more record..(y/n?)";
cin>>ch;
}while(ch=='y'||ch=='Y');
fp.close();
}
void write_student()
{
char ch;
fp.open("student.dat",ios::out|ios::app);
do
{
st.create_student();
fp.write((char*)&st,sizeof(student));
cout<<"\n\ndo you want to add more record..(y/n?)";
cin>>ch;
}while(ch=='y'||ch=='Y');
fp.close();
}
//***************************************************************
// function to read specific record from file
//****************************************************************
12 | P a g e

void display_spb(char n[])
{
cout<<"\nBOOK DETAILS\n";
int flag=0;
fp.open("book.dat",ios::in);
while(fp.read((char*)&bk,sizeof(book)))
{
if(strcmpi(bk.retbno(),n)==0)
{
bk.show_book();
flag=1;
}
}
fp.close();
if(flag==0)
cout<<"\n\nBook does not exist";
getch();
}
void display_sps(char n[])
{
cout<<"\nSTUDENT DETAILS\n";
int flag=0;
fp.open("student.dat",ios::in);
while(fp.read((char*)&st,sizeof(student)))
{
if((strcmpi(st.retadmno(),n)==0))
{
st.show_student();
flag=1;
}
}
fp.close();
if(flag==0)
cout<<"\n\nStudent does not exist";
13 | P a g e

getch();
}
//***************************************************************
// function to modify record of file
//****************************************************************
void modify_book()
{
char n[6];
int found=0;
clrscr();
cout<<"\n\n\tMODIFY BOOK REOCORD.... ";
cout<<"\n\n\tEnter The book no. of The book:";
cin>>n;
fp.open("book.dat",ios::in|ios::out);
while(fp.read((char*)&bk,sizeof(book)) && found==0)
{
if(strcmpi(bk.retbno(),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";
found=1;
}
}
fp.close();
if(found==0)
cout<<"\n\n Record Not Found ";
getch();
}
14 | P a g e

void modify_student()
{
char n[6];
int found=0;
clrscr();
cout<<"\n\n\tMODIFY STUDENT RECORD... ";
cout<<"\n\n\tEnter The admission no. of The student";
cin>>n;
fp.open("student.dat",ios::in|ios::out);
while(fp.read((char*)&st,sizeof(student)) && found==0)
{
if(strcmpi(st.retadmno(),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";
found=1;
}
}
fp.close();
if(found==0)
cout<<"\n\n Record Not Found ";
getch();
}
//***************************************************************
// function to delete record of file
//****************************************************************
void delete_student()
{
char n[6];
15 | P a g e

int flag=0;
clrscr();
cout<<"\n\n\n\tDELETE STUDENT...";
cout<<"\n\nEnter The admission no. 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.retadmno(),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()
{
char n[6];
clrscr();
cout<<"\n\n\n\tDELETE BOOK ...";
cout<<"\n\nEnter The Book no. of the Book You Want To
Delete : ";
cin>>n;
fp.open("book.dat",ios::in|ios::out);
16 | P a g e

fstream fp2;
fp2.open("Temp.dat",ios::out);
fp.seekg(0,ios::beg);
while(fp.read((char*)&bk,sizeof(book)))
{
if(strcmpi(bk.retbno(),n)!=0)
{
fp2.write((char*)&bk,sizeof(book));
}
}
fp2.close();
fp.close();
remove("book.dat");
rename("Temp.dat","book.dat");
cout<<"\n\n\tRecord Deleted ..";
getch();
}

//***************************************************************
// function to display all students list
//****************************************************************
void display_alls()
{
clrscr();
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<<"\t===========================================
=======================\n";
17 | P a g e

cout<<"\tAdmission
No."<<setw(10)<<"Name"<<setw(20)<<"Book Issued\n";
cout<<"\t===========================================
=======================\n";
while(fp.read((char*)&st,sizeof(student)))
{
st.report();
}
fp.close();
getch();
}
//***************************************************************
// function to display Books list
//****************************************************************
void display_allb()
{
clrscr();
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)))
18 | P a g e

{
bk.report();
}
fp.close();
getch();
}

//***************************************************************
// function to issue book
//****************************************************************
void book_issue()
{
char sn[6],bn[6],check='y';
int found=0,flag=0;
clrscr();
cout<<"\n\nBOOK ISSUE ...";
cout<<"\n\n\tEnter The student's admission no.";
cin>>sn;
cout<<"\n\n\tDo you want to see book list (y/n): ";
cin>>check;
if(check=='y'||check=='Y')
{ cout<<"\n\n\t\tPRESS ENTER AFTER VIEWING THE
LIST..";
display_allb();
}
else
{ clrscr();
cout<<"\n\nBOOK ISSUE ...";
cout<<"\n\n\tEnter The student's admission no.";
puts(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.retadmno(),sn)==0)
19 | P a g e

{
found=1;
if(st.rettoken()==0)
{
cout<<"\n\n\tEnter the book no. ";
cin>>bn;
while(fp1.read((char*)&bk,sizeof(book))&&
flag==0)
{
if(strcmpi(bk.retbno(),bn)==0)
{
bk.show_book();
flag=1;
st.addtoken();
st.getstbno(bk.retbno());
int pos=-1*sizeof(st);
fp.seekp(pos,ios::cur);
fp.write((char*)&st,sizeof(student));
cout<<"\n\n\t Book issued
successfully\n\nPlease Note: Write the current date
in backside of your book and submit within 15 days
fine Rs. 1 for each day
after 15
days period";
}
}
if(flag==0)
cout<<"Book no does not exist";
}
else
cout<<"\n\tYou have not returned the last
book!!! ";
}
}
if(found==0)
cout<<"Student record not exist...";
getch();
fp.close();
fp1.close();
20 | P a g e

}
//***************************************************************
// function to deposit book
//****************************************************************
void book_deposit()
{
char sn[6],bn[6];
int found=0,flag=0,day,fine;
clrscr();
cout<<"\n\nBOOK DEPOSIT ...";
cout<<"\n\n\tEnter The students admission no.";
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.retadmno(),sn)==0)
{
found=1;
if(st.rettoken()==1)
{
while(fp1.read((char*)&bk,sizeof(book))&& flag==0)
{
if(strcmpi(bk.retbno(),st.retstbno())==0)
{
bk.show_book();
flag=1;
cout<<"\n\nBook deposited in no. of days : ";
cin>>day;
if(day>15)
{
fine=(day-15)*1;
cout<<"\n\nFine has to deposited Rs.
"<<fine;
}
st.resettoken();
int pos=-1*sizeof(st);
21 | P a g e

fp.seekp(pos,ios::cur);
fp.write((char*)&st,sizeof(student));
cout<<"\n\n\t Book deposited
successfully";
}
}
if(flag==0)
cout<<"Book no does not exist";
}
else
cout<<"No book is issued..please check!!";
}
}
if(found==0)
cout<<"Student record not exist...";
getch();
fp.close();
fp1.close();
}

//***************************************************************
// INTRODUCTION FUNCTION
//****************************************************************
void intro(void)
{
void *image;
int size;
int dr=9,mode=2;
initgraph(&dr,&mode,"..\\bgi");
size=imagesize(140,140,500,250);
image=malloc(size);
setfillstyle(SOLID_FILL,GREEN);
circle(200,200,50);
floodfill(200,200,WHITE);
setcolor(LIGHTGRAY);
22 | P a g e

circle(200,200,19);
setcolor(WHITE);
circle(200,200,18);
circle(200,200,49);
circle(200,200,53);
circle(200,200,20);
arc(215,215,350,90,30);
arc(210,182,90,194,30);
arc(180,195,180,300,30);
settextstyle(1,HORIZ_DIR,1);
setcolor(CYAN);
outtextxy(270,180,"STUDENT LIBRARY");
outtextxy(270,185,"___________________");
outtextxy(270,210,"Of KDY Groups Pvt Ltd.");
settextstyle(0,HORIZ_DIR,0);
setcolor(DARKGRAY);
outtextxy(270,240,"Copyright 2013");
getimage(141,141,499,259,image);
cleardevice();
for(int count=1;count<300;count+=2)
putimage(1+count,100,image,COPY_PUT);
for(int down=0;down<640;++down)
{
delay(5);
line(1,220,1+down,220);
}
setcolor(BLUE);
for(int bottom=0;bottom<300;bottom+=4)
line(1,220+bottom,640,220+bottom);
free(image);
cout<<"Intergrated Library Management\n";
cout<<"\t Done By :\n";
cout<<"\t C.Deepanath,\n";
cout<<"\t C.Karthik Raj,\n";
cout<<"\t S.M.Yogeshwaran,\n";
cout<<"\t Jawahar Higher Secondary School,\n\t Neyveli.";
getch();
closegraph();
23 | P a g e

}
//***************************************************************
// ADMINISTRATOR MENU FUNCTION
//****************************************************************
void admin_menu()
{
int ch1,ch2,ch3;
set:
clrscr();
cout<<"\n\n\n\t\t\t~~~~~ADMINISTRATOR MENU~~~~~";
cout<<"\n\n\n\t\t1.STUDENTS ZONE\t\t\t2.BOOK ZONE";
cout<<"\n\n\t\t\t\t3.RETURN TO MAIN MENU";
cout<<"\n\n\n\tPLEASE ENTER THE CHOICE : ";
ch1=getche();
switch(ch1)
{
case '1':stu:
clrscr();
cout<<"\n\n\t\t\t\t~~~~~STUDENTS
ZONE~~~~~~";
cout<<"\n\n\t1.CREATE STUDENT RECORD";
cout<<"\n\n\t2.DISPLAY ALL STUDENTS
RECORD";
cout<<"\n\n\t3.DISPLAY SPECIFIC STUDENT
RECORD ";
cout<<"\n\n\t4.MODIFY STUDENT RECORD";
cout<<"\n\n\t5.DELETE STUDENT RECORD";
cout<<"\n\n\t6.BACK TO ADMINSTRATION
MENU";
cout<<"\n\n\nPLEASE ENTER THE CHOICE : ";
ch2=getche();
switch(ch2)
{
case '1': clrscr();
write_student();
goto stu;
24 | P a g e

case '2': display_alls();
goto stu;
case '3':
char num[6];
clrscr();
cout<<"\n\n\tPlease Enter The
Admission No. ";
cin>>num;
display_sps(num);
goto stu;
case'4': modify_student();
goto stu;
case '5': delete_student();
goto stu;
case '6':goto set;
default:cout<<"ENTER THE RIGHT
CHOICE!!!!";
}
case '2':book:
clrscr();
cout<<"\n\n\t\t\t~~~~~BOOK ZONE~~~~~";
cout<<"\n\n\t1.CREATE BOOK ";
cout<<"\n\n\t2.DISPLAY ALL BOOKS ";
cout<<"\n\n\t3.DISPLAY SPECIFIC BOOK ";
cout<<"\n\n\t4.MODIFY BOOK ";
cout<<"\n\n\t5.DELETE BOOK ";
cout<<"\n\n\t6.BACK TO ADMINSTRATION MENU";
cout<<"\n\n\tPlease Enter Your Choice : ";
ch3=getche();
switch(ch3)
{
case'1': clrscr();
write_book();
25 | P a g e

goto book;
case'2': display_allb();
goto book;
case'3': {
char num[6];
clrscr();
cout<<"\n\n\tPlease Enter The
book No. ";
cin>>num;
display_spb(num);
goto book;
}
case'4': modify_book();
goto book;
case'5': delete_book();
goto book;
case'6': goto set;
default: cout<<"ENTER THE RIGHT CHOICE";
}
case'3': return;
}
admin_menu();
}
void book_status()
{ clrscr();
fstream a[10];
int i=0;
cout<<"\n\t\t~~~~~~BOOK STATUS~~~~~~~\n";
fp.open("student.dat",ios::in|ios::out);
while(fp.read((char*)&st,sizeof(student))&& !fp.eof())
{ cout<<"\n";
st.report();
26 | P a g e

a[i].open("book.dat",ios::in|ios::out);
if(st.rettoken()==1)
{ if(a[i].eof())
cout<<"\nFILE IS AT END\n";
char p[]="s";
while(!a[i].eof())
{
a[i].read((char*)&bk,sizeof(book));
if(strcmp(p,bk.retbno())!=0)
{
if(strcmpi(bk.retbno(),st.retstbno())==0)
bk.show_book();
}
strcpy(p,bk.retbno());
}
}
else
{
cout<<"The Student has no book\n";
}
i++;
}
getch();
}
//*************************************************************//
// PASSWORD VERIFICATION MODULE FOR LOGIN
//
//************************************************************//
void password()
{
char str[10];
cout<<"\n\n\tPLEASE BE CAREFUL ENTER THE PASSWORD
IN SMALL LETTERS\n";
cout<<"\n\t\tPASSWORD DOES NOT CONTAINS ANY
NUMBER\n\n\n";
cout<<"\n\t\tPRESS ENTER AFTER ENTERING THE
PASSWORD";
cout<<"\n\n\t\t\tEnter your Password\t";
27 | P a g e

str[0]=getch();
cout<<"*";
str[1]=getch();
cout<<"*";
str[2]=getch();
cout<<"*";
str[3]='\0';
cout<<"*";
getch();
if(strcmp(str,"kdy")==0)
{
cout<<"\n\n\n\t\tPLEASE WAIT WHILE LOADING THE
PROJECT";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(200);
}
else
{
clrscr();
for( int x=1;x<=4;++x)
28 | P a g e

{
if(x<4)
{
clrscr();
cout<<"\n\n\tENTERED WRONG PASSWORD !!!";
cout<<"\n\t\tPLEASE REENTER THE PASSWORD";
cout<<"\n\n\t ATTEMPT"<<x<<"/3";
cout<<"\n\n\t\t\tEnter your Password\t";
str[0]=getch();
cout<<"*";
str[1]=getch();
cout<<"*";
str[2]=getch();
cout<<"*";
str[3]='\0';
cout<<"*";
getch();
if(strcmp(str,"kdy")==0)
{
cout<<"\n\n\n\t\tPLEASE WAIT WHILE LOADING THE
PROJECT";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
29 | P a g e

delay(150);
cout<<".";
delay(200);
break;
}
if(x==4)
{
cout<<"\n\n\n\n\t\t";
cout<<"\t~~~~~~~~ ERROR !!!~~~~~~~";
cout<<"\n\n\t\t CONSULT THE CONCERN MEMBERS...";
getch();
exit(0);
}
}
}
} }
//***********************************************************//
// PASSWORD VERIFICATION MODULE FOR
ADMINISTRATOR MENU //
//*********************************************************** //
void pass(void)
{
char c,str[20];
cout<<"\n\n\t ******* ADMINISTRATOR MENU VERIFICATION
********";
cout<<"\n\n\tPLEASE BE CAREFUL ENTER THE PASSWORD
IN SMALL LETTERS\n";
cout<<"\n\t\tPASSWORD DOES NOT CONTAINS ANY
NUMBER\n\n\n";
cout<<"\n\t\tPRESS ENTER AFTER ENTERING THE
PASSWORD";
cout<<"\n\n\t\t\tEnter your Password\t";
str[0]=getch();
cout<<"*";
str[1]=getch();
cout<<"*";
str[2]=getch();
30 | P a g e

cout<<"*";
str[3]=getch();
cout<<"*";
str[4]=getch();
cout<<"*";
str[5]=getch();
cout<<"*";
str[6]=getch();
cout<<"*";
str[7]='\0';
cout<<"*";
getch();
if(strcmp(str,"library")==0)
{
cout<<"\n\n\n\t\tPLEASE WAIT WHILE MENU IS
LOADING";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(200);
admin_menu();
}
31 | P a g e

else
{
clrscr();
cout<<"\n\n\t\t ERROR !!!";
cout<<"\n\n\n\n\n\t\t\tENTERED WRONG PASSWORD
.....";
getch();
clrscr();
cout<<"\n\n\t FORGOT YOUR PASSWORD....
REMEMBERED ????(Y/N)";
cin>>c;
if(c=='y'||c=='Y')
pass();
else
cout<<"\n\n\t\t CONSULT THE COPYRIGHT
MEMBERS...";
delay(1000);
exit(0);
}
}
//***************************************************************
// THE MAIN FUNCTION OF PROGRAM
//****************************************************************
void main()
{
clrscr();
intro();
password();
char ch;
do
{
clrscr();
cout<<"\n\n\n\t\t\t";
cout<<"^^^^^^^ MAIN MENU^^^^^^^";
cout<<"\n\n\t01. BOOK ISSUE";
cout<<"\n\n\t02. BOOK DEPOSIT";
cout<<"\n\n\t03. ADMINISTRATOR MENU";
cout<<"\n\n\t04. BOOK STATUS";
32 | P a g e

cout<<"\n\n\t05. EXIT";
cout<<"\n\n\tPlease Select Your Option (1-5)";
ch=getche();
switch(ch)
{
case '1':clrscr();
book_issue();
break;
case '2':book_deposit();
break;
case '3':clrscr();
pass();
break;
case '4':book_status();
break;
case '5':clrscr();
cout<<"\n\n\n\n\t\t***************************************************
";
cout<<"\n\t\tTHANKS FOR USING OUR
INERGRATED
LIBRARY MANAGEMENT.";
cout<<"\n\t\t***************************************************";
cout<<"\n\n\tOUR THANKNESS TO OUR COMPUTER
TEACHER\n\t\t Mrs.V.SUJATHA MCA,M.Ed";
cout<<"\n\n\t\tANY HELP CONTACT COPYRIGHT MEMBERS";
cout<<"\n\n\t\t1.C.DEEPANATH - [email protected],";
cout<<"\n\t\t2.C.KARTHIKRAJ - [email protected],";
cout<<"\n\t\t3.S.M.YOGESHWARAN - [email protected],";
cout<<"\n\n\t\t\t $$$$$$$ BYE $$$$$$$";
cout<<"\n\n\t\tPRESS ENTER TO EXIT";
getch();
exit(0);
default :cout<<"\a\a\a";
}
}while(ch!='5');
}
//***************************************************************
//
END OF PROJECT
//**************************************************************
33 | P a g e

SCREEN LAYOUT \ OUTPUT

34 | P a g e

35 | P a g e

36 | P a g e

37 | P a g e

38 | P a g e

39 | P a g e

40 | P a g e

41 | P a g e

42 | P a g e

43 | P a g e

44 | P a g e

45 | P a g e

46 | P a g e

47 | P a g e

BIBLOGARPHY

FOR PROGRAM :
WWW.ICBSE.COM
WWW.GOOGLE.CO.IN
WWW.C++FORUM.CO.IN
FOR OUT PUT :
WWW.WIKIPEDIA.COM
WWW.WIKIANSWERS.COM

-------------------()-----------------

48 | P a g e

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close