Professional Documents
Culture Documents
Hardware and Software Used
Hardware and Software Used
SOFTWARE
USED
1.Hardware
Personal computer
Laptop
Pendrive
RW DvD
2.SOFTWARE
TURBO C++
NOTEPAD
MS WORD 2009
INTRODUCTION
BIBLiOGRaphy
I have taken the help of the
following to complete this project
on time :
Data dictionary
HEADER FILES
1.#include<fstream.h>
2.#include<conio.h>
3.#include<process.h>
4.#include<string.h>
5.#include<iomanip.h>
CLASS USED
1.BOOKS
Data member used:
char
char
Char
Bno[6]
Bname[50]
aname[20]
create book()
show book()
modify book()
book issue()
display allb()
display alls()
delete student()
2.Student
Data members used :
Char admo [6];
Char name [20];
Char stbno[6];
Puts(bname);
Cout<<author name:;
Puts(aname);
}
Void modify book()
{
Cout<<\n book no:;<<bno;
Cout<<\n modify book name;
Gets(bname);
Cout<<modify authors of
book;
Gets(aname);
}
Char*retbno()
{
Return bno;
}
Void report ()
{
Cout<<bno<<setw(30)<<anam
e<<endl;
}
};
Class student
[
Char admno[6];
Char name[20];
Char stbno[6];
Int token;
Public:
Void create student ()
{
Clrscr();
Cout<<\n new student entry;
Cout<<\n enter the admission
no;
Cin>>admno;
Cout<<\n enter the name of the
student;
Gets(name);
Token=0;
Stbno[0]=/0;
Cout<<\n student record
created;
}
Void show student ()
{
Char*retadmno()
{
Ret admno;
}
Char*retsbno()
{
Return stbno;
}
Int rettoken()
{
Return token;
}
Void addtoken()
{
Token=1;
}
Void resettoken()
{
Token=0;
}
Void getsbno(char t
{
Strcpy(stbno,t);
}
Void report()
{
Cout<<\t<<admno<<setw(20)<
<name<<setw(10)<<token<<en
dl;}
};
Fstream fp,fp1;
Book bk;
Student st;
Void write book()
{
Char ch;
Fp.open(book.dat,ios::out|
ios::app);
do
{
Clrscr();
Bk.