You are on page 1of 28

PROJECT OF OBJECT ORIENTED PROGRAMMING TOPIC: - LIBRARY MANAGEMENT SYSTEM

SUBMITTED TO: MADAM JAGRITI SHARMA SUBMITTED BY: ANIL KUMAR SINGH ROLL: RD1801A03 SEC: Rd1801 Reg N! : 108003"1 COURSE: B TECH #CSE$

ACKNO%LEDGEMENT:
1

I am highly indebted to ( MADAM JAGRITI SHARMA) for providing me necessary guidance and inspirational support throughout this work, without which this work would not have been in present shape.

I am also thankful to (MADAM JAGRITI SHARMA) for providing their full support, at all the times whole heartedly, without which it was impossible to complete this work.

I also extend my thanks to library staff of the my college for their corporation. And I would also like to thank all my teachers who have helped me directly or indirectly during my work.

ANIL KUMAR SINGH ROLL:&d1801'03

INDE(:
I)*&!d+,*-!) P&e.',e P&!,e// de/,&-0*-!) S!+&,e ,!de !+*0+* Ad1')*'ge D-/'d1')*'ge

I)*&!d+,*-!):

Library management system is the system in which we can provided a best service for public in library field. Basically we used manually system in alots of field. But now adays we should increase our service speed. So that we serve everyone who is needy. The library management system works for reducing overload of librarian. We can easily search the book and issued the book. All data can be easily managed in this system.

PREFACE:
This project of LIBRARY MANAGEMENT of gives us the complete information about the library. We can enter the record of new books and retrieve the details of books available in the library. We can issue the books to the students and maintain their records and can also check how many books are issued and stock available in the library. n this project we can maintain the late fine of students who returns the issued books after the due date.

PROCESS DESCRIPTION :
The Library !anagement System is designed " developed for a receipt and issuance of books in the library along with the student#s details. The books received in the library are entered in Books $ntry form and the new student is entered in the student entry form. When the student wants to get the desired book the same is issued on the availability basis to the student. The issuance and due date for the returning of the book is also entered into the Book ssue form under third menu Book ssue. The student has to pay the fine if any on the basis of no. of days delayed deposit of the book in the library.

S!+&,e ,!de:
4

%include&iostream.h' %include&stdio.h' %include&conio.h' %include &string.h' %include &process.h' %include &stdlib.h' %include &ctype.h' %include &graphics.h' %include&dos.h' %include&iomanip.h' %define ()*!AL + class library , private. L$ /fp0/ft0/fe1 int sl1 long int recsi2e1 char another0choice1 struct Late.ine , int roll0sno1 char name34561 char code37861 float amt1 9f1 struct student , int roll0sno0sl0dt0mn0yr1 char name34561 char code37861 9i0r0:1 struct book , int sno1 char name34561 char auth34561 char pub3;861 float price1 9b1 publicvoid bo<b=int r0int c0int r70int c70char m36>1 int menu=int col0int r0int c0int npara0char /pop36>1 void about=>1 void bookpurchage=>1 void booklist=>1 void bookissue=>1 void issuelist=>1 void bookreturn=>1
5

void returnlist=>1 void :uerybystd=>1 void :uerybybook=>1 void latefine=>1 void delreturn=>1 void modifyentry=>1 void flash=>1 91 ?? .unction to get overview of project void library--bookpurchage=> , int temp@51 fp @ fopen =A*$B)*C.CATA0ArbDA>1 if=fp @@ (ELL> , fp @ fopen =A*$B)*C.CATA0AwbDA>1 if=fp @@ (ELL> , puts=ABan not open fileA>1 e<it=5>1 9 9 recsi2e@si2eof=b>1 fseek=fp050S$$FG$(C>1 another@HyH1 rewind=fp>1 while=fread="b0recsi2e070fp>@@7> , temp@b.sno1 9 while=another@@HyH> , te<tbackground=I>1 clrscr=>1 flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3B))FS6A>1 te<tattr=+>1 b.sno@tempD71 tempDD1 goto<y=75075>1cout&&AB))FG() - A&&b.sno1 flushall=>1 goto<y=75077>1cout&&AB))FG(A!$ - A1 gets=b.name>1 flushall=>1 goto<y=7507;>1cout&&AAETL)*G(A!$ - A1 gets=b.auth>1 flushall=>1
6

goto<y=75074>1cout&&AMEBL BAT )( - A1 gets=b.pub>1 flushall=>1 goto<y=7507K>1cout&&AM* B$ - A1 cin''b.price1 flushall=>1 goto<y=7507J>1cout&&ACo you want to save=y?n>- A1 another@getche=>1 if=anotherN@HyH> tempOO1 else fwrite="b0recsi2e070fp>1 goto<y=7507+>1cout&&AAdd another records=P?(>- A1 fflush=stdin>1 another@getche=>1 9 clrscr=>1 return1 9 void library--booklist=> , int c@71 fp @ fopen =A*$B)*C.CATA0ArbDA>1 recsi2e@si2eof=b>1 rewind=fp>1 te<tbackground=I>1 clrscr=>1 flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3B))FSS6A>1 te<tattr=+>1 goto<y=;0+>1cout&&AB))FG(). B))FSG(A!$ AETL)* EBL BAT )( M* B$ A1 goto<y=;0Q>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 while =fread ="b0recsi2e070fp> @@ 7> , flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 B))FS 6A>1 te<tattr=+>1 goto<y=;0QDc>1 cprintf=A ROJd A0b.sno>1 cprintf=A RO;5.;5s A0b.name>1 cprintf=A RO7Q.7Qs A0b.auth>1 cprintf=A RO78.78sA0b.pub>1 cprintf=A RI.;f A0b.price>1 cDD1
7

if=c'77> , c@71 goto<y=880;5>1 cout&&AMress key to ne<tA1 getch=>1 te<tbackground=I>1 clrscr=>1 flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 B))FSS 6 A>1 te<tattr=+>1 goto<y=;0+>1cout&&AB))FG(). B))FSG(A!$ AETL)*MEBL BAT )( M* B$ A1 goto<y=;0Q>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 9 9 goto<y=J50;5>1cout&&A$nd of ListA1 getch=>1 clrscr=>1 return1 9 int library--menu=int color0int r0int c0int npara0char /popup36> , int r7@rD=nparaO7>0k@50i@50j@70r;@r1 te<tattr=color>1goto<y=c0r;>1cprintf=popup356>1 r;DD1 te<tattr=I7I>1 te<tcolor=+>1 for=j@71j&npara1jDD0r;DD> , goto<y=c0r;>1cprintf=popup3j6>1 9 do , k@getch=>1 switch=k> , case Q5 goto<y=c0r>1te<tattr=I7I>1te<tcolor=+>1cprintf=popup3i6>1 rDD1 iDD1 if=r'r7> , r@r7O=nparaO7>1 i@51 goto<y=c0r>1te<tattr=color>1cprintf=popup3i6>1 9 goto<y=c0r>1te<tattr=color>1cprintf=popup3i6>1 break1
8

case +; goto<y=c0r>1te<tattr=I7I>1te<tcolor=+>1cprintf=popup3i6>1 rOO1 iOO1 if=r&r7 O=nparaO7>> , r@r71 i@nparaO71 goto<y=c0r>1te<tattr=color>1cprintf=popup3i6>1 9 goto<y=c0r>1te<tattr=color>1cprintf=popup3i6>1 break1 9 9while=kN@74>1 return iD71 9 void library--bo<b=int r0int c0int r70int c70char m36> , int i1 if=m@@ASA> , goto<y=c0r>1printf=ARcA0;7Q>1 goto<y=c70r>1printf=ARcA07I7>1 goto<y=c0r7>1printf=ARcA07I;>1 goto<y=c70r7>1printf=ARcA0;7+>1 for=i@cD71i&c71iDD> , goto<y=i0r>1printf=ARcA07IJ>1 goto<y=i0r7>1printf=ARcA07IJ>1 9 for=i@rD71i&r71iDD> , goto<y=c0i>1printf=ARcA07+I>1 goto<y=c70i>1printf=ARcA07+I>1 9 9 else , goto<y=c0r>1printf=ARcA0;57>1 goto<y=c70r>1printf=ARcA07Q+>1 goto<y=c0r7>1printf=ARcA0;55>1 goto<y=c70r7>1printf=ARcA07QQ>1 for=i@cD71i&c71iDD> , goto<y=i0r>1printf=ARcA0;58>1 goto<y=i0r7>1printf=ARcA0;58>1 9 for=i@rD71i&r71iDD> , goto<y=c0i>1printf=ARcA07QJ>1 goto<y=c70i>1printf=ARcA07QJ>1
9

9 9 return1 9 void library--flash=> , bo<b=;07080+I0 ASA>1 bo<b=J070;50+I0 ACA>1 bo<b=;7070;K0+I0ACA>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=404>1cprintf=A 3L B*A*P !A(AS$!$(T SPST$!6 A>1 te<tattr=JI+>1te<tattr=JI4>1 goto<y=40;;>1cprintf=A Cesigned By -O A( L FE!A* S (SLA>1 goto<y=40;4>1cprintf=A B.T$BLOBS$0 L)T$LP SBL))L ). $(S ($$* (SA>1 te<tattr=+>1 9 void library--about=> , te<tbackground=I>1 clrscr=>1 flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A3$*T $W 6A>1 te<tattr=I7I>1 goto<y=750+> 1te<tcolor=K>1cprintf=AThis L. .S. Mackage has been designed to maintain computerised A>1 goto<y=750Q> 1te<tcolor=;>1cprintf=ALibrary work very easily by a librarian. t can run under C)S? A>1 goto<y=750I> 1te<tcolor=8>1cprintf=AWindows $nvironment.A>1goto<y=75075>1te<tcolor=4>1cprintf=A.................................. A>1 goto<y=75077>1te<tcolor=J>1cprintf=AA( L FE!A* S (SLA>1 goto<y=7507;>1cprintf=A B.T$BLOBS$A>1 goto<y=75074>1cprintf=A L)T$LP M*).$SS )(AL E( T$*S TPA>1 goto<y=7507K>1puts=A ///////////////////A>1 te<tcolor=;>1 goto<y=75078>1cprintf=A $mailO anil.madhyaniUgmail.comA>1 goto<y=7507J>1te<tcolor=4>1cprintf=A..................................... A>1 te<tattr=+>1te<tbackground=4>1te<tcolor=8>1 goto<y=880;5>1te<tcolor=Q5K>1cprintf=AMress any key to (e<t A>1 ?? sound=;755>1 ?? delay=7555>1 getch=>1 ?? nosound=>1 te<tattr=+>1 clrscr=>1 9 void library--bookissue=> , int temp@50tem@51
10

fp @ fopen =AB SSE$.CATA0ArbDA>1 if=fp @@ (ELL> , fp @ fopen =AB SSE$.CATA0AwbDA>1 if=fp @@ (ELL> , puts=ABan not open fileA>1 e<it=5>1 9 9 ft@fopen=A*$B)*C.CATA0ArbA>1 recsi2e@si2eof=i>1 fseek=fp050S$$FG$(C>1 another@HyH1 choice@HyH1 rewind=fp>1 while=fread="i0recsi2e070fp>@@7> temp@sl1 while=another@@HyH> , te<tbackground=I>1 clrscr=>1 flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 B))FS 6 A>1 te<tattr=+>1 sl@tempD71 tempDD1 flushall=>1 goto<y=75077>1cout&&AB))FG() - A1 cin''i.sno1 flushall=>1 rewind=ft>1 while=fread="b0si2eof=b>070ft>@@7> , if =i.sno@@b.sno> , tem@i.sno1 rewind=fp>1 while=fread="i0recsi2e070fp>@@7> , if=tem@@i.sno> , goto<y=;0+>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 goto<y=;0Q>1cout&&AB))FG()- A&&i.sno&&A S ()T M*$S$(T N ML$AS$$(T*$*($W B))F (E!B$*A1 goto<y=;0I>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 goto a1 9
11

9 i.sno@tem1 goto<y=;0+>1cout&&AB))F (). B))FHs (A!$ AETL)* EBL BAT )(

M* B$ A1

goto<y=;0Q>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 goto<y=;0I>1printf=A ROJd RO;5.;5s RO7Q.7Qs RO78.78sRI.;fA0b.sno0b.name0b.auth0b.pub0b.price>1 goto<y=;075>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 goto<y=7507;>1cout&&ASTEC$(TG*)LL - A1 cin''i.roll1 flushall=>1 goto<y=75074>1cout&&ASTEC$(TG(A!$ - A1 gets=i.name>1 flushall=>1 goto<y=7507K>1cout&&AB)E*S$GB)C$ - A1 gets=i.code>1 flushall=>1 goto<y=75078>1cout&&A SSE$GCAT$ - A1 cin''i.dt1 goto<y=;Q078>1cout&&AOA1cin''i.mn1 goto<y=47078>1cout&&AOA1cin''i.yr1 flushall=>1 goto<y=7507+>1cout&&ACo you want to save=P?(>- A1 choice@getche=>1 if=choice@@HyH> fwrite="i0recsi2e070fp>1 goto a1 9 9 goto<y=;0+>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 goto<y=;0Q>1cout&&AB))FG()- A&&i.sno&&A S ()T ( L B*A*P N A1 goto<y=;0I>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 agoto<y=7507Q>1cout&&A ssue Another Book =P?(>- A1 fflush=stdin>1 another@getche=>1 9 clrscr=>1 fclose=ft>1 fclose=fp>1 return1 9 void library--bookreturn=> , int temp@51 . L$ /fm0/ff1 fp @ fopen =AB*$TE*(.CATA0ArbDA>1 if=fp @@ (ELL> ,
12

fp @ fopen =AB*$TE*(.CATA0AwbDA>1 if=fp @@ (ELL> , puts=ABan not open fileA>1 e<it=5>1 9 9 ft@fopen=A*$B)*C.CATA0ArbA>1 fe@fopen =AB SSE$.CATA0ArbDA>1 recsi2e@si2eof=r>1 fseek=fp050S$$FG$(C>1 another@HyH1 choice@HyH1 rewind=fp>1 while=fread="r0recsi2e070fp>@@7> , temp@r.sl1 9 while=another@@HyH> , te<tbackground=I>1 clrscr=>1 flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 B))FS 6 A>1 te<tattr=+>1 r.sl@tempD71 tempDD1 goto<y=75077>1cout&&AB))FG() - A1 cin''r.sno1 flushall=>1 rewind=ft>1 while=fread="b0si2eof=b>070ft>@@7> , if =r.sno@@b.sno> , rewind=fe>1 while=fread="i0si2eof=i>070fe>@@7> , if=r.sno@@i.sno> , goto<y=;0+>1cout&&AB))FG() B))FSG(A!$ SSE$GCAT$ A1 goto<y=;0Q>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 goto<y=;0I>1cprintf=A ROJd RO7+.7+s RO7J.7Js A0i.sno0b.name0i.name0i.roll0i.code0i.dt0i.mn0i.yr>1

SSE$C T)

*)LLBGB)C$

RO8d

ROQ.QsR5;dOR5;dOR5;d

goto<y=;075>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 goto<y=7507;>1cout&&ASTEC$(TG*)LL - A1 cin''r.roll1


13

flushall=>1 goto<y=75074>1cout&&ASTEC$(TG(A!$ - A1 gets=r.name>1 flushall=>1 goto<y=7507K>1cout&&AB)E*S$GB)C$ - A1 gets=r.code>1 flushall=>1 goto<y=75078>1cout&&A*$TE*(GCAT$ - A1 cin''r.dt1 goto<y=;Q078>1cout&&AOA1cin''r.mn1 goto<y=47078>1cout&&AOA1cin''r.yr1 flushall=>1 ?/ int total0tmp@50d@50m@50y@51 float fine1 ff @ fopen =A. ($.CATA0ArbDA>1 if=ff @@ (ELL> , ff @ fopen =A. ($.CATA0AwbDA>1 if=ff @@ (ELL> , puts=A.ile (ot .oundA>1 e<it=5>1 9 9 if =r.dt'@i.dt> , d@r.dtOi.dt1 if=r.mn'@i.mn> , m@r.mnOi.mn1 y@r.yrOi.yr1 9 else , r.yr@r.yrO71 r.mn@r.mnD7;1 m@r.mnOi.mn1 y@r.yrOi.yr1 9 9 else , r.mn@r.mnO71 r.dt@r.dtD451 d @r.dtOi.dt1 if=r.mn'@i.mn> , m@r.mnOi.mn1 y@r.yrOi.yr1
14

9 else , r.yr@r.yrO71 r.mn@r.mnD7;1 m@r.mnOi.mn1 y@r.yrOi.yr1 9 9 total@dD=m/45>D=y/7;/45>1 if =total'@+> , total@totalO+1 fine@total/7.551 recsi2e@si2eof=f>1 fseek=ff050S$$FG$(C>1 rewind=ff>1 while=fread="f0recsi2e070ff>@@7> , tmp@f.sno1 9 f.sno@tmpD71 f.roll@i.roll1 strcpy=f.name0i.name>1 strcpy=f.code0i.code>1 f.amt@fine1 fwrite="f0recsi2e070ff>1 9 /? goto<y=7507J>1cout&&ACo you want to save=P?(>- A1 choice@getche=>1 if=choice@@HyH> , fwrite="r0recsi2e070fp>1 fm@fopen=AT$!M.CATA0AwbA>1 rewind=fe>1 while=fread="i0si2eof=i>070fe>@@7> , if=r.snoN@i.sno> fwrite="i0si2eof=i>070fm>1 9 fclose=fe>1 fclose=fm>1 remove=AB SSE$.CATA>1 rename=AT$!M.CATA0AB SSE$.CATA>1 fe@fopen=AB SSE$.CATA0ArbDA>1 9 goto a1 9 9 9
15

9 goto<y=;0+>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 goto<y=;0Q>1cout&&AB))FG()- A&&r.sno&&A S ()T SSE$C B))F N A1 goto<y=;0I>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 agoto<y=7507+>1cout&&A*eturn Another Book =P?(>- A1 fflush=stdin>1 another@getche=>1 9 clrscr=>1 fclose=ft>1 fclose=fp>1 fclose=fe>1 return1 9 void library--:uerybystd=> , int c@51 fp@fopen=A*$B)*C.CATA0ArbA>1 ft@fopen=AB SSE$.CATA0ArbA>1 te<tbackground=I>1 clrscr=>1 flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 Vueries bydent 6 te<tattr=+>1 goto<y=75074>1cout&&AStudentHs *oll- A1 cin'':.roll1 flushall=>1 goto<y=7507K>1cout&&ABourse Bode - A1 gets=:.code>1 flushall=>1 te<tbackground=I>1 clrscr=>1 flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 Vueries bydent 6 A>1 te<tattr=+>1 rewind=ft>1 while=fread="i0si2eof=i>070ft>@@7> , if==strcmpi=:.code0i.code>@@5>""=:.roll@@i.roll>> , te<tattr=+>1 goto<y=880;;>1cout&&A*oll- A&&:.roll1 goto<y=880;4>1cout&&A(ame- A&&i.name1
16

A>1

goto<y=;0+>1cout&&AB))FG(). SSE$GCAT$ A1

B))FSG(A!$

AETL)*MEBL BAT )(

goto<y=;0Q>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 goto<y=;0IDc>1cout&&AA1 rewind=fp>1 while=fread="b0si2eof=b>070fp>@@7> , while=i.sno@@b.sno> , goto<y=;0IDc>1cprintf=A ROJd RO;5.;5s RO74.74s A0i.sno0b.name0b.auth0b.pub0i.dt0i.mn0i.yr>1

RO77.77sR5;dOR5;dOR5;d

goto<y=;075Dc>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 cDD1 break1 9 9 goto<y=850;5>1cout&&A Total (umber of Books- A&&c1 9 9 if=c&@5> , goto<y=7507;>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOO*$B)*C ()T. (COOOOOOOOOOOOOOOOOOOOOO A1 9 getch=>1 clrscr=>1 return 1 9 ?/ void :uerybybook=> , int bno1 clrscr=>1 flash=>1 te<tattr=855>1 goto<y=40K>1cprintf=A 3 Vueries by 6 A>1 te<tattr=+>1 goto<y=75074>1printf=ABookHs Sl.(o. - A>1 scanf=ARdA0"bno>1 flushall=>1 goto<y=880;5>1puts=AEnder Bonstruction A>1 getch=>1 te<tattr=+>1 clrscr=>1 return1 9 void latefine=>
17

, int total0d@50m@50y@50d7@e.dt0d;@r.dt0m7@e.mn0m;@r.mn0y7@e.yr0y;@r.yr1 float fine1 fp @ fopen =A. ($.CATA0ArbDA>1 if=fp @@ (ELL> , fp @ fopen =A. ($.CATA0AwbDA>1 if=fp @@ (ELL> , puts=A.ile (ot .oundA>1 e<it=5>1 9 9 if =r.dt'@e.dt> , d@r.dtOe.dt1 if=r.mn'@e.mn> , m@r.mnOe.mn1 y@r.yrOe.yr1 9 else , r.yr@r.yrO71 r.mn@r.mnD7;1 mn@r.mnOb.mn1 y@r.yrOe.yr1 9 9 else , r.mn@r.mnO71 r.dt@r.dtD451 d @r.drOe.dt1 if=r.mn'@e.mn> , m@r.mnOe.mn1 y@r.yrOe.yr1 9 else , r.yr@r.yrO71 r.mn@r.mnD7;1 m@r.mnOe.mn1 y@r.yrOe.yr1 9 9 total@dD=m/45>D=y/7;/45>1 if =total'@+>
18

, total@totalO+1 fine@total/7.551 9 clrscr=>1 flash=>1 te<tattr=855>1 goto<y=40K>1cprintf=A 3 Late .ine ils 6 A>1 te<tattr=+>1 goto<y=40+>1printf=ASl.(o. *oll (o (ame of Students Bourse code Late .ine =*s> A>1 goto<y=;0Q>1printf=AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOA>1 goto<y=4075>1printf=A Cifference date -R5;dOR5;dOR5;d A0d0m0y>1 goto<y=4077>1printf=A Late .ine of Rd days is *s. R.;fA0total0fine>1 goto<y=880;5>1puts=AEnder Bonstruction A>1 getch=>1 te<tattr=+>1 clrscr=>1 return1 9 /? void library--issuelist=> , int c@71 fp @ fopen=AB SSE$.CATA0ArbDA>1 ft @ fopen=A*$B)*C.CATA0ArbDA>1 recsi2e@si2eof=i>1 rewind=fp>1 te<tbackground=I>1 clrscr=>1 flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 SSE$C B))FSTA LS 6 A>1 te<tattr=+>1 goto<y=;0+>1cout&&A SSE$C T) *)LL BGBode B))FG() SSE$GCAT$ A1 goto<y=;0Q>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 while =fread ="i0recsi2e070fp> @@ 7> , flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 SSE$C B))FSTA LS 6 A>1 te<tattr=+>1
19

B))FSG(A!$AETL)*

goto<y=;0QDc>1 cprintf=A RO78.78s A0i.name>1 cprintf=A RO4d A0i.roll>1 cprintf=A ROJ.Js A0i.code>1 cprintf=A RO8dA0i.sno>1 fflush=stdin>1 rewind=ft>1 while=fread="b0si2eof=b>070ft>@@7> , if =i.sno@@b.sno> , cprintf=A RO7K.7Ks A0b.name>1 cprintf=A RO75.75s A0b.auth>1 9 9 cprintf=A R5;dOR5;dOR5;d A0i.dt0i.mn0i.yr>1 cDD1 if=c'75> , c@71 goto<y=880;5>1cout&&AMress key to ne<t A1 getch=>1 te<tbackground=I>1 clrscr=>1 flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 SSE$C B))FS LS te<tattr=+>1 goto<y=;0+>1cout&&ASl.(o. SSE$C T) SSE$GCAT$ A1

A>1 *)LL BGBode B))FG()B))FSG(A!$

goto<y=;0Q>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 9 9 goto<y=J50;5>1cout&&A$nd of List A1 getch=>1 clrscr=>1 return1 9 void library--returnlist=> , int c@71 fp @ fopen =AB*$TE*(.CATA0ArbDA>1 ft @ fopen =A*$B)*C.CATA0ArbDA>1 recsi2e@si2eof=r>1 rewind=fp>1 te<tbackground=I>1 clrscr=>1 flash=>1 te<tattr=JI+>1
20

te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 *$TE*($C B))FS$TA LS 6 te<tattr=+>1 goto<y=;0+>1cout&&ASl.(o. *$TE*($C BP *)LL BGBode *$TE*(GCAT$A1

A>1 B))FG()B))FSG(A!$

goto<y=;0Q>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 while =fread ="r0recsi2e070fp> @@ 7> , flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 *$TE*($C B))FSC$TA LS 6 A>1 te<tattr=+>1 goto<y=;0QDc>1 cprintf=A RO8dA0r.sl>1 cprintf=A RO7J.7Js A0r.name>1 cprintf=A RO4d A0r.roll>1 cprintf=A ROQ.Qs A0r.code>1 cprintf=A RO8d A0r.sno>1 rewind=ft>1 while=fread="b0si2eof=b>070ft>@@7> , if =r.sno@@b.sno> cprintf=A RO7J.7Js A0b.name>1 9 cprintf=A R5;dOR5;dOR5;d A0r.dt0r.mn0r.yr>1 cDD1 if=c'75> , c@71 goto<y=880;5>1 cout&&AMress key to ne<t A1 getch=>1 te<tbackground=I>1 clrscr=>1 flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 *$TE*($C B))FSC$TA LS 6 A>1 te<tattr=+>1 goto<y=;0+>1cout&&ASl.(o. *$TE*($C BP *)LL BGBode B))FG()B))FSG(A!$ *$TE*(GCAT$A1 goto<y=;0Q>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 9 9 goto<y=J50;5>1cout&&A$nd of List A1 getch=>1 clrscr=>1 return1 9
21

void library--modifyentry=> , int sn1 fp@fopen=A*$B)*C.CATA0ArbDA>1 recsi2e@si2eof=b>1 another@HyH1 while=another@@HyH> , te<tbackground=I>1 clrscr=>1 flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 !)C .PCS 6 A>1 te<tattr=+>1 goto<y=750Q>1cout&&A$nter B))FG() to !odify- A1 cin''sn1 rewind=fp>1 while=fread="b0recsi2e070fp>@@7> , if=sn@@b.sno> , clrscr=>1 flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 !)C .P *$B)*CS6A>1 te<tattr=+>1 goto<y=;0+>1printf=AB))FG() B))FSG(A!$ AETL)*MEBL BAT )( goto<y=;0Q>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 goto<y=;0I>1printf=A ROJd RO;5.;5s RI.;fA0b.sno0b.name0b.auth0b.pub0b.price>1 goto<y=;075>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOA1 goto<y=7507;>1cout&&A$nter new entries- A1 goto<y=75074>1cout&&AB))FG() - A&&b.sno1 flushall=>1 goto<y=7507K>1cout&&AB))FSG(A!$ - A1 gets=b.name>1 flushall=>1 goto<y=75078>1cout&&AAETL)* - A1 gets=b.auth>1 flushall=>1 goto<y=7507J>1cout&&AMEBL BAT )( - A1 gets=b.pub>1 flushall=>1 goto<y=7507+>1cout&&AM* B$ - A1 cin''b.price1 fflush=stdin>1 fseek=fp0Orecsi2e0S$$FGBE*>1
22

M* B$ A>1 RO78.78s

RO7Q.7Qs

fwrite="b0recsi2e070fp>1 9 else , flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 !)C .PCS 6 A>1 te<tattr=+>1 goto<y=7507;>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOO() *$B)*C.)E(COOOOOOOOOOOOOOOOOOOOOOO A1 9 9 goto<y=K807I>1cout&&A !odify another records=P?(>- A1 fflush=stdin>1 another@getche=>1 9 clrscr=>1 fclose=fp>1 return1 9 void library--delreturn=> , int sn1 fp@fopen=AB*$TE*(.CATA0ArbDA>1 recsi2e@si2eof=r>1 another@HyH1 while=another@@HyH> , te<tbackground=I>1 clrscr=>1 flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 C$L$T$CS te<tattr=+>1 goto<y=750Q>1cout&&A$nter B))FG() to Celete- A1 cin''sn1 ft@fopen=AT$!M.CATA0AwbA>1 rewind=fp>1 while=fread="r0recsi2e070fp>@@7> , if=snN@r.sno> fwrite="r0recsi2e070ft>1 9 fclose=fp>1 fclose=ft>1 remove=AB*$TE*(.CATA>1 rename=AT$!M.CATA0AB*$TE*(.CATA>1 fp@fopen=AB*$TE*(.CATA0ArbDA>1 te<tbackground=I>1 clrscr=>1
23

A>1

flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=A 3 C$L$T$CS 6 A>1 te<tattr=+>1 goto<y=7507;>1cout&&AOOOOOOOOOOOOOOOOOOOOOOOO*$B)*C$L$T$COOOOOOOOOOOOOOOOOOOOOOO A1 goto<y=K807I>1cout&&ACelete Another=y?n>- A1 fflush=stdin>1 another@getche=>1 9 clrscr=>1 fclose=fp>1 return1 9

int main=> , library gen0issue0retrn0:uery1 int m1 static char /popup3746@,A57. L ST ). B))FSA0A5;. L ST ). SSE$C B))FSA0A54. L ST ). *$TE*($C B))FSA0A5K. B))FS SSE$ A0A58. B))FS *$TE*(0A0A5J. B))FS ME*BLAS$ A0A5+. !)C .P ME*BLAS$A0A5Q. C$L$T$ *$TE*(A0A5I.VE$*P BP B))FA0A75. VE$*P BP STEC$(T A0A77. LAT$ . ($ C$TA LSA0A7;.AB)ET AMML BAT )(A0A74. $W TA91 ?? int gdriver @ C$T$BT0 gmode0 errorcode1 ?? initgraph="gdriver0 "gmode0 AA>1 ?? closegraph=>1 do , te<tbackground=I>1 clrscr=>1 gen.flash=>1 te<tattr=JI+>1 te<tcolor=JI;>1 goto<y=40K>1cprintf=AA>1 te<tattr=I7+>1 te<tcolor=;>1 gen.bo<b=J0740;50J80ACA>1 goto<y=;Q0;7>1 cprintf=AS$L$BT L SLL SLT$C )MT )(A>1 m@gen.menu=KIQ0+0450740popup>1 goto<y=+50;K>1 if=m@@7> , flushall=>1 te<tattr=+>1 clrscr=>1 gen.booklist=>1 9 if=m@@;> , flushall=>1
24

te<tattr=+>1 clrscr=>1 issue.issuelist=>1 9 if=m@@4> , flushall=>1 te<tattr=+>1 clrscr=>1 retrn.returnlist=>1 9 if=m@@K> , flushall=>1 te<tattr=+>1 clrscr=>1 issue.bookissue=>1 9 if=m@@8> , flushall=>1 te<tattr=+>1 clrscr=>1 retrn.bookreturn=>1 9 if=m@@J> , flushall=>1 te<tattr=+>1 clrscr=>1 gen.bookpurchage=>1 9 if=m@@+> , flushall=>1 te<tattr=+>1 clrscr=>1 gen.modifyentry=>1 9 if=m@@Q> , flushall=>1 te<tattr=+>1 clrscr=>1 retrn.delreturn=>1 9 if=m@@I> , flushall=>1 te<tattr=+>1 clrscr=>1 ?? :uery.:uerybybook=>1
25

9 if=m@@75> , flushall=>1 te<tattr=+>1 clrscr=>1 :uery.:uerybystd=>1 9 if=m@@77> , flushall=>1 te<tattr=+>1 clrscr=>1 ?? latefine=>1 9 if=m@@7;> , flushall=>1 te<tattr=+>1 clrscr=>1 gen.about=>1 9 if=m@@74> , flushall=>1 te<tattr=+>1 clrscr=>1 e<it=5>1 9 9while=mN@74>1 return 51 9

O+*0+*:
26

LIBRAR MANAGEMENT S STEM


LIST OF BOOKS LIST OF ISSUED BOOKS LIST OF RETURNED BOOKS BOOKS ISSUE BOOKS RETURN BOOKS PURCHAGE MODIF PURCHAGE DELETE RETURN !UER B BOOKS !UER B STUDENTS LATE FINE DETAILS ABOUT APPLICATION E"IT

SELECT HIGHLIGHTED OPTION

D#$%&'#( B)*+ ANIL KUMAR SINGH B,TECH+CSE- LO.EL PROFESSIONAL UNI.ERSIT

Ad1')*'ge:
7. ;. 4. K. Less time consuming for searching the books. !inimum staffs re:uired in the library. $very person easily know the capacity of library. Bategorisation of books easily shown.
27

8. We can easily check the issued book and the person details.

D-/'d1')*'ge:
7. Mroblem creates when link is unavailable. ;. Sometimes automatically issued the books on any person id.

T/0'1$,,,,,,,,,,,

28

You might also like