Cs Project

42
KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14 ACKNOWLEDGE MENT I would like to express my sincere gratitude to my project supervisor which is Ms. Vartika Sharma who guided me a lot throughout the project development. Without her guidance, I think I would not with this project. In addition, she gives me logic problems related to the project which is very useful to me. I would also like to thank my principal sir for providing us the lab which has all the facilities for developing this project. Our Librarian Sir also give his full co-operation when I went to ask the present working system of our library. My Friend circle also helps me a lot to overcome my problems. In trying to solve some logic errors I also get helped from my tuition teacher. At last I want to thank my parents for their cooperation and helping me at every stage of my life. Page 1

description

It is investigatory project for class xii cbse. (LIBRARY MANAGEMENT)

Transcript of Cs Project

Page 1: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

ACKNOWLEDGEMENT

I would like to express my sincere gratitude to my project supervisor which is Ms. Vartika Sharma who guided me a lot throughout the project development. Without her guidance, I think I would not with this project. In addition, she gives me logic problems related to the project which is very useful to me. I would also like to thank my principal sir for providing us the lab which has all the facilities for developing this project.

Our Librarian Sir also give his full co-operation when I went to ask the present working system of our library.

My Friend circle also helps me a lot to overcome my problems. In trying to solve some logic errors I also get helped from my tuition teacher.

At last I want to thank my parents for their cooperation and helping me at every stage of my life.

Page 1

Page 2: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

Library Managemen

t System

Page 2

Page 3: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

ABSTRACT

In Library, Librarian is the admin. Staff used to maintain record of one who is member of that library and the books that he/she had borrowed a book from that library. They also have to maintain a particular time period after which they have to pay some fine for their borrowed book. If someone lost some books then they have to pay price plus some fine for the book which is also maintained by them.

So In order for Proper functioning Library staff have to maintain record for library members as well for the books they have in their library.

In library with lakhs of books and hundreds f their member it is hard for the staff such lots of data. In order to get information about any member they have to fetch many records which is time consuming and also need more man power in big libraries. It is also difficult for staff to secure lots of data.

Nowadays, we can use computers to came out of such difficulties. A simple library management system can do all these things without much man power nor it needed much time to fetch data about a particular book or library members. The proposed system can modify, delete, insert ad search record within few seconds and can also calculate the fine that an individual had to pay.

Page 3

Page 4: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

INDEX

Topic Page No1 – Introduction 7 - 8

1.1 Background of the study 7

1.2 Statement of problem/Objective 7

1.3 Hypothesis 8

1.4 Significance of the Project 8

1.5 Limitations of the study/Project 8

2 -Review of related literature 9 - 10

2.1 Opening A File 9

2.2 Closing A File 10

2.3 Writing To File 10

2.4 Reading From File 10

3 – Methodology 11-17

3.1 Methodology followed for the project 11

3.2 Requirement statement 12

3.2.1 For development 12

3.2.2 For execution 12

3.3 Feasibility study for development 13

3.4.1 Technical 13

3.4.2 Economical 13

3.4.3 Behavioral 13

3.4 System Analysis 14

3.5 System Design 15-17

3.5.1 Flow charts 15

3.5.2 Class Design 16

Page 4

Page 5: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

Topic Page No

4 - Result and Discussion 18-31

4.1 Code 18

4.2 Snapshots 29

5 - Conclusion and recommendations 32

5.1 Conclusion 32

5.2 Recommendations 32

6 – Bibliography 33

Page 5

Page 6: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

FIGURE INDEX

Topic Page No

Main Menu 29

Administrator Menu 29

New Book Entry 30

New Student Entry 30

Book Issue 31

Book Deposit 31

Page 6

Page 7: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

1. INTRODUCTION

I. Background of the Study:- I’ve seen librarian struggling with records while when we go to issue or deposit a book. This manual system is time consuming and record can even be easily lost. This gives me an idea to develop a program which can be economically or behaviorally feasible for the users.

Little development in this program can be done so that it can be easily used in other record keeping like in hotels, hospitals, etc.

II. Statement of Problems and Objectives:-Problems:-

Some of the problems being faced in manual system are as follows:1. Fast report generation is not possible.2. Tracing a book is difficult.3. Information about issue/return of the books are not properly maintained.4. No central database can be created as information is not available in

database.

Objective:-

1. It Reduces Paperwork.2. Reduce the workload of employee.3. Faster retrieval of information about the desired book.4. Provide facility for proper monitoring reduces paper work and provide data security.

5. All details will be available on just few seconds.

Page 7

Page 8: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

III. Hypothesis:-

I’ve started this program with an objective to develop it for keeping record of books for student in library with ten books can be issued per student. But I was failed because it makes program too complex so I’ve developed this program with a limitation that a student can only issue one book.

IV. Significance of Project:-

This Project is suitable for small and medium size library. It is use by librarian and library admin to manage the library using a computerized system. This system was developed and designed to help librarian record every transaction so that the problem such as record missing will not be happened. A centralized storage system behind it will help a lot for maintaining a record. Modification on the available data will be easier and there is no needto fill the whole record for just a small change. This proposed system is moreefficient and quick in order to find a record .

V. Delimitation and Limitation Of Project:-

Delimitation:- 1.It is more efficient than present day manual system. 2. Reduced Data Insecurity. 3.Reduces Paper Work. 4.Reduces Work load and need much less time to find a particular record.

Limitation:-1.It work on very old language platform and hence most of the computer had to install turbo C++ for the execution of the program.2.It doesn’t work on database which can be very useful in efficiency and speed processing for our records.

Page 8

Page 9: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

2. REVIEW OF THE RELATED LITERATURE

Data Type Description

OfstreamThis data type represents the output file stream and is used to create files and to write information to files.

IfstreamThis data type represents the input file stream and is used to read information from files.

Fstream

This data type represents the file stream generally, and has the capabilities of both ofstream and ifstream which means it can create files, write information to files, and read information from files.

To perform file processing in C++, header files <iostream> and <fstream> must be included in your C++ source file.

Opening a File:A file must be opened before you can read from it or write to it. Either the ofstream or fstream object may be used to open a file for writing and ifstream object is used to open a file for reading purpose only.

Following is the standard syntax for open() function, which is a member of fstream, ifstream, and ofstream objects.

void open(const char *filename, ios::openmode mode);

Here, the first argument specifies the name and location of the file to be opened and the second argument of the open() member function defines the mode in which the file should be opened.

Mode Flag Description

ios::appAppend mode. All output to that file to be appended to the end.

ios::ateOpen a file for output and move the read/write control to the end of the file.

ios::in Open a file for reading.

Page 9

Page 10: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

ios::out Open a file for writing.

ios::truncIf the file already exists, its contents will be truncated before opening the file.

For example if you want to open a file in write mode and want to truncate it in case it already exists, following will be the syntax:

ofstream outfile;outfile.open("file.dat", ios::out | ios::trunc );

Similar way, you can open a file for reading and writing purpose as follows:

fstream afile;afile.open("file.dat", ios::out | ios::in );

Closing a File:

When a C++ program terminates it automatically closes flushes all the streams, release all the allocated memory and close all the opened files. But it is always a good practice that a programmer should close all the opened files before program termination.

Following is the standard syntax for close() function, which is a member of fstream, ifstream, and ofstream objects.

void close();

Writing to a File:

While doing C++ programming, you write information to a file from your program using the stream insertion operator (<<) just as you use that operator to output information to the screen. The only difference is that you use an ofstream or fstream object instead of the cout object.

Reading from a File:

We read information from a file into your program using the stream extraction operator (>>) just as you use that operator to input information from the keyboard. The only difference is that you use an ifstream or fstream object instead of the cin object.

Page 10

Page 11: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

3. Methodology

I. Flow Chart(Methodology followed for the project)

II. Requirement Statement – System Requirement

Page 11

Page 12: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

For Development

Turbo C++, Borland C++.

Windows XP, Vista, 7,8 or Mac OSx or equivalent.

Processor – Intel P4 or Later

256 of RAM or higher

For Execution

Turbo C++, Borland C++ .

Windows XP, Vista, 7,8 or Mac OSx or equivalent.

Processor – Intel P4 or Later

256 MB of RAM or higher

III. Feasibility Study

A. Technical

It needed a pc with the above given requirements and a turbo C++ software for its execution.

Page 12

Page 13: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

B. Economical

I have uses the resources of my lab to develop this program and there is light interface for the user and hence I can say that it can be easily feasible for even small libraries with minimal cost.

C. Behavioral

This software is an effort to reduce man work in library. The users had to give just input while other works like calculation, updating, inserting and usually all most all the functions of a record it can do. I even use an easy use of English language so that user will not face difficulty for operating the program. This project can be executable on C++ platform all you need to install turbo C++ with the above requirement .The menu driven program help the user to choose whatever they need and good use of retrieval in the program will provide a better interaction interface for the user.

IV. SYSTEM ANALYSIS

Some of the problems being faced in manual system are as follows:1. Fast report generation is not possible.2. Tracing a book is difficult.3. Information about issue/return of the books are not properly

maintained.4. No central database can be created as information is not available

in database.

Page 13

Page 14: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

Proposed system provides with following solutions :1. It provides "better and efficient" service to members.2. Reduce the workload of employee.3. Faster retrieval of information about the desired book.4. Provide facility for proper monitoring reduce paper work and

provide data security.5. All details will be available on a click.

V. SYSTEM DESIGN

A. Flowchart::-

Page 14

Page 15: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

B. Class Design:-

B.1. Class Name : book

STOP

Page 15

Page 16: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

Private Member

bno[6] Character string type

bname[50] Character string type

aname[20] Character string type

Public Members:

create_book(); void type

show_book(); void type

modify_book(); void type

report(); void type

retbno(); pointer type

B.2 Class Name : student

Private Members:

Page 16

Page 17: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

admno[6] Character string type

name[20] Character string type

stbno[6] Character string type

token Integer Type

Public Members:

create_student(); void type

show_student(;) void type

modify_student(); void type

retadmno(); Pointer type

retstbno(); Pointer type

rettoken(); integer type

4.RESULT AND DISCUSSIONCode:-

#include<fstream.h>#include<conio.h>#include<stdio.h>#include<process.h>#include<string.h>

Page 17

Page 18: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

#include<iomanip.h>

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);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 ends here

class student

Page 18

Page 19: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

{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;}

char* retstbno(){

return stbno;}

int rettoken(){

return token;}

void addtoken(){token=1;}

Page 19

Page 20: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

void resettoken(){token=0;}

void getstbno(char t[]){

strcpy(stbno,t);}

void report(){cout<<"\t"<<admno<<setw(20)<<name<<setw(10)<<token<<endl;}

}; //class ends here

fstream fp,fp1;book bk;student st;

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();

}

Page 20

Page 21: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

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";getch();

}

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";

Page 21

Page 22: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

cin>>n;fp.open("book.dat",ios::in|ios::out);while(fp.read((char*)&bk,sizeof(book))){

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();

}

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))){

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();

}

Page 22

Page 23: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

void delete_student(){

char n[6];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);

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

if(strcmpi(st.retadmno(),n)!=0)fp2.write((char*)&st,sizeof(student));

elseflag=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);fstream fp2;fp2.open("Temp.dat",ios::out);

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

if(strcmpi(bk.retbno(),n)!=0){

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

}

Page 23

Page 24: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

fp2.close();fp.close();remove("book.dat");rename("Temp.dat","book.dat");cout<<"\n\n\tRecord Deleted ..";getch();

}

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<<"==============================================================\n;cout<<"\tAdmission No."<<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(){

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";

Page 24

Page 25: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

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 book_issue(){

char sn[6],bn[6];int found=0,flag=0;clrscr();cout<<"\n\nBOOK ISSUE ...";cout<<"\n\n\tEnter The student's 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()==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";cout<<"\n\nPlease Note: Submit within 15 days

fine Rs. 1 for each day";cout<<"\n\nafter 15 days period";

}}

if(flag==0)cout<<"Book no does not exist";

Page 25

Page 26: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

}elsecout<<"You have not returned the last book ";

}}

if(found==0)cout<<"Student record not exist...";

getch();fp.close();fp1.close();

}

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 student’s 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);fp.seekp(pos,ios::cur);fp.write((char*)&st,sizeof(student));cout<<"\n\n\t Book deposited successfully";

} }

Page 26

Page 27: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

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(); }

void admin_menu(){

clrscr();int ch2;cout<<"\n\n\n\tADMINISTRATOR MENU";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.CREATE BOOK ";cout<<"\n\n\t7.DISPLAY ALL BOOKS ";cout<<"\n\n\t8.DISPLAY SPECIFIC BOOK ";cout<<"\n\n\t9.MODIFY BOOK ";cout<<"\n\n\t10.DELETE BOOK ";cout<<"\n\n\t11.BACK TO MAIN MENU";cout<<"\n\n\tPlease Enter Your Choice (1-11) ";cin>>ch2;switch(ch2){

case 1: clrscr();write_student();break;

case 2: display_alls();break;case 3:

char num[6];clrscr();cout<<"\n\n\tPlease Enter The Admission No. ";cin>>num;display_sps(num);break;

case 4: modify_student();break;case 5: delete_student();break;

case 6: clrscr();write_book();break;

case 7: display_allb();break;case 8: {

Page 27

Page 28: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

char num[6];clrscr();cout<<"\n\n\tPlease Enter The book No. ";cin>>num;display_spb(num);break;

}case 9: modify_book();break;

case 10: delete_book();break; case 11: return;

default:cout<<"\a";}

admin_menu();}

//***************************************************************// THE MAIN FUNCTION OF PROGRAM//****************************************************************

void main(){

char ch;

do{

clrscr();cout<<"\n\n\n\tMAIN MENU";cout<<"\n\n\t01. BOOK ISSUE";cout<<"\n\n\t02. BOOK DEPOSIT";cout<<"\n\n\t03. ADMINISTRATOR MENU";cout<<"\n\n\t04. EXIT";cout<<"\n\n\tPlease Select Your Option (1-4) ";ch=getch();switch(ch){

case '1':clrscr(); book_issue();

break;case '2':book_deposit();

break;case '3':admin_menu();

break;case '4':exit(0);default :cout<<"\a";

}}while(ch!='4');

}

Page 28

Page 29: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

Snapshots:-

Page 29

Page 30: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

Page 30

Page 31: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

Page 31

Page 32: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

5.CONCLUSION AND RECOMMENDATION

I. CONCLUSION:-

This project aims to replace the manual work of making a record and we think it would be able in its motto of doing so. We have included certain functions for deleting record, updating a record, viewing records for the simplicity of the user.

II. RECOMMENDATION:-

We hereby invite any recommendations or suggestions for the betterment of this project. There are some limitations of this project as is the case with all projects. No system till date has been designed which is errorless or without limitations.

Page 32

Page 33: Cs Project

KENDRIYA VIDYALAYA NO.1 AFS KALAIKUNDA 2013-14

6. BIBLIOGRAPHYI‘ve get constant support for the development of my program

from:-

i) Object Oriented Programming with C++ by

E BALAGURUSAMY

ii) www.cppforschool.com

Page 33