Professional Documents
Culture Documents
CSE -202
DOS: 17/11/2010
Regd. # :10901999
ACKNOWLEDGEMENT
for assigning me the respective term paper which helped me to explore the
fact about the topic (Library Management ) which I never knew and shown me
-----Rajat Jain
INDEX
• Introduction INTRODUCTION
• Description
I will start this project by describing the
• Process Flow word “TECHNOLOGY” this word is
rapidly changing day by day. Earlier where
• Source code people were totally dependent on paper to
store their data have now moved to the
• Testing(Screen Shots of world of computers. Today we see
working program) everything is computerized and which is
also getting enhanced day by day.
• Further Readings (Future
Scope)
In earlier days people use to write the
• Reference(Bibliography) records for every transaction as a proof but
as if now its all on computer. Hence we
derive the library maintenance on computer
which can be useful for maintaining, editing,
saving the records. As we know it was very
difficult to modify the information on the
peace of papers, but in case of computers its
an easy task and therefore we moved in this
direction.
PROCESS FLOW:-
START
MENU DISPLAY
Process OF
SELECTED
INPUT OPTIONS OPERATIONS have
the modules of
saving, deleting and
adding respectively.
PROCESS OF SELECTED
OPERATIONS
SAVE
(or)
STOP EXIT
THE PROCESS OF SELECTED public: static char date[10];
OPERATIONS HAS DIFFERENT SAVING,
MODIFIENG, DELETING PROCESS FLOW void issuebook(); void returnbook();
void background();
void mainmenu();
int bookfound(int);
//**********************************
************************ // int booknamefound(char[]);
#include<conio.h>
private:
#include<stdio.h>
#include<fstream.h>
#include<string.h>
};
class lib
{
lib l[120];
fstream filin;
filin.open("lib.dat",ios::in|ios::out|ios::app);
if(!filin)
lib k; cin>>l[i].bname;
return(0); cin>>l[i].bcode;
} l[i].avail=1;
l[i].addnewbook(l[i].bcode,l[i].bname,l[i].av
ail);
filin.write((char *)&l[i],sizeof(l[i]));
for(i=0;i<n;i++)
void lib::addbook() { filin.read((char *)&l[i],sizeof(l[i]));
{int a,n; cout<<"\n book's name ";
cout<<l[i].bname; cout<<"\nTO GET ENTER IN LIBRARY
PRESS ENTER";
cout<<"\n book code ";
cout<<"\nWELCOME TO";
cout<<l[i].bcode;
cout<<"\nLPU";
} fin.close();
cout<<"\nLIB";
getch(); }
getch();
//Background this functions containing front
page and others page graphics most of them mainmenu();
are designed inside it. It controls graphic
part of whole program. }
void lib::background()
char lib::name[10];
char lib::date[10];
cout<<"\n***************************
***********************************
*****************"; //Issuebook function this function is used for
issuing book ie it is controlling the part from
cout<<"\nC++ PROJECT"; where student can issue book it is containing
details required for issuing book.
cout<<"\nLIBRARY MANAGEMENT";
for(int m=0;m<n;m++) } }
else
if(c==1)
cin>>n;
for(int i=0;i<n;i++)
char ch;
{
int p;
cout<<"\n\nEnter ur book name ";
while(1)
cin>>l[i].bname;
{
cout<<"\n\nEnter ur book code ";
cin>>l[i].bcode;
}
clrscr();
cout<<"\n\nHow many days late ";
cin>>da;
fine=da*5;
cout<<"\nLIBRARY
cout<<"\n\nPay Fine Rs "<<fine; MANAGEMENT SYSTEM- BOOK ";
cout<<"\n\n Success fully returned ";
getch();
} cout<<"\n-------------------------------";
cout<<"\n1.Introduction";
cout<<"\n2.Add Book(s)";
cout<<"\n3.Issue book";
flushall();
ch=getchar();
void lib::introduc ()
if(ch=='1')
{
introduc();
clrscr();
char stylestr[40];
else
if(ch=='3')
cout<<"\nINTRODUCTION";
issuebook();
cout<<"\nLIBRARY MANGEMENT";
else if(ch=='2')
addbook();
cout<<"\nThis software is made by Rajat
Jain";
else cout<<" this software is for library
if(ch=='0') management";
getch();
{ avail=tavail;
if(bcode==tcode) file.close();
found=1; }
REFERENCE(BIBLIOGRAPHY)
E. BALAGURUSAMY, text
book of C++
YASHWANT KANEDKAR,
REFERENCE OF C++
PROGRAMMING
STRUCTURE> Various
websites.