Hospital Management
Hospital Management
TOPIC
1.
ACKNOWLEDGEMENT
2.
INTRODUCTION
3.
4.
PROGRAM FLOWCHART
5.
SOURCE CODE
6.
OUTPUT
7.
8.
BIBLIOGRAPHY
PROJECT REPORT
1)
Hospital Mangement
b) Object of project
address etc.
It will ask for disease obtain by the student in different subject.
The program will prepare the report .
2)
Keyboard
Monitor
CPU
Printer
Mouse
FDD
:
:
:
:
:
:
101 buttons
VGA/SVGA
Celeron , 1.7 GHz
Inkjet
Three Button Mouse.
1.44MB
Operating System
Language
Packages
Version
a)
:
:
:
DOS
C Language
Not Used
:- Turbo C++
b)
b)
Minimum req. of Hardware :Turbo C++ runs on the IBM PC family of computers,including
the XT, AT and PS/2 along with all true IBM compatibilities.
Turbo C++ required DOS 2.0 or higher and at least 640KB
memory. It runs on any 80 column Monitor. The minimum
requirement is a hard disk drive and floppy drive.
Software :- Operating System MS DOS 6.22 Turbo compiler.
d) Name of software files submitted on floppy disk :-along with
the topic of there contents.
d.Dat. :- This opens under the concept of File handling and itselfmade.
p.dat :- This file contents the actual program,which will generate
the Report.
Main.Exe:- This is an executable file. Due TO this we don t
required compiler.
INTRODUCTION
Project work for PGDCA has been made in C Language. Project work
consist of a program for Hospital Management.
Our program consists of file on compiling the program, it asks for various
choices from different options.
(1) Add Record
(2) List Record
(3) Modify Record
(4)Delete Record
(5) Exit
On entering the choice no. , it will reform the different functions.
4) stdlib.h :
a) exit()
5)
string.h :
a) strcmp() :
Step 2 :From here the actual program starts first of all we find
void main ( ) functionwhich starts the program then there is a
opening brace. In it different type of variables and data types are
defined.
We have used file handling which is capital letter because
this is defined in Conio.h in capital letter. *fp and *ft are declared
as pointer.
Ans and choice variables are defined as character data
type.
In struct mark, structure is being declared in which
different types of data can be stred in this contains character type
data which is decleare in array.
Int type and float type variable also declared after this
struct mark e is taken which is linked with structure. Outside the
structure int, char and long int are defined.
recsize variables is taken for a long int.
The file open through the pointer fp, hence it contains
file name and mode .
File name is in mark.dat and mode is in read and write
mode.
When we run the program it marks mark.dat file of its
own which can be Used only for read and write. Due to some
reason if the file is not opened through put( ) function messagewill
be displayed Cannot open file .afterthis ,the program will
terminate.
Step3 :Here main manu is displayed on the screan. Here size
of operator is usedwhich is linked with structure. In this step there
are five menus and as follows.
1.
2.
3.
4.
5.
ADD RECORD
LIST RECORD
MODIFY RECORD
DELETE RECORD
EXIT
In this step, switch case statements are used. There is one
message is printed enter your choice . After selecting a particular
case program enters the particular case.
Step 4:On selecting case no. 1, it will ask to enter
students information including name, fathers name, roll no.,
course name, marks obtained in different subjects etc. Here fseek ( )
function is used which searches particular position in the file. When
any record is entered, the new record is pendent at the end of the
file due to
fseek ( ) function. Here integer, character and float type
datas are entered.
Different types of data are as follows :-
1.
char data type : student name, father name, date of birth, date of
joiningcourse, resistration no.
int data type : roll no. , mark obtd. In different subjects.
Float data type : per.
After entering the required data the calculation of total, per,
result and grade is done. After the calculation the formate of the
Mark Seet is obtained hence at the bottom of the screen a message
is displayed Add Another Record Y/N . If Y is selected then
new record is added or if Nis selected then the program will go
back to the main menu with the help of break statement in the
program.
Step 5 :-
BIBLIOGRAPHY
1)
ANSI C by Balaguruswami.
2)
3)
Letus C by Kanetkar.
4)
5)
CERTIFICATE
Place: Bilaspur
Date:
(Head of Department)
Department of Computer Science
AISECT, Bilaspur
2)Enrollment No.:
..
3 )Project Title :
4)Software Base:
Turbo C++
5)StudyCenter:
AISECT, Bilaspur,(C.G.)
6)Submitted For :
PGDCA 20011-12
7)Evaluation:
(Project Report and CD Evaluation Marks)
Particular
Total Marks
ON
Submitted to the
SUBMITTED BY:
Miss Mamta Laxmi Bhonsle