Medical Store Management System
Medical Store Management System
REG. NO-10802653
B.TECH –MBA
(C.S.E)
GROUP -1
ROLL.NO-RE1802A22
1 |Page
ACKNOWLEDGEMENT
Completing a task is never a one man effort. It is often the result of valuable
contribution of a number of individuals in a direct or indirect manner that helps in
shaping and achieving an objective. It is very difficult for anyone to complete a project
without the active cooperation and the benefit of the advice from the people who are
experts in their field of specialization. The satisfaction and euphoria that accompanies
the successful completion of any task would not be complete without the mention of the
people who made it possible
With due honor, We want to thank all the personalities who made us able to do this
interesting work. First of all we would like to thank lovely professional university for
giving us this opportunity to carry out this minor project at their esteemed institution.
We are grateful to our honorable faculty who provided all the facility.
- AMBISH KUMAR
2 |Page
INDEX
1. Project proposal
4. Coding.
7. References.
3 |Page
PROJECT PROPOSAL
A transfer is a lateral move to a position in the same classified pay range (classified position)
or to a position with comparable duties and responsibilities (non-classified positions).
Eligibility:-
All non-faculty employees are eligible for transfer after being employed in their present
position for atleast three months. In addition, an employee must have been performing in
a satisfactory manner in his/her current job. Exceptions to the three month employment
requirement may be authorized by the President on a case-by-case basis.
Procedures:-
Employees are considered as candidates for transfer in the following order or priority:
a. Eligible employees in same department as the job opening
b. Eligible employees in other departments who have requested a transfer
c. Eligible employees being considered for lay-off due to a reduction in force
Employees desiring a transfer will submit a written request for transfer to his/her department
head. The employee should identify the specific vacancy in which they are interested. The
department head will forward the request to the Department of Human Resources for
recommended action.
The Department of Human Resources will determine whether the desired job or a suitable job
opening exists. If a suitable job is available, the Department of Human Resources will
arrange for the employee's application to be reviewed by the department in which opening
exists.
Employees will be allowed time off with pay for job interviews related to transfers.
The decision to effect the transfer will be made by the head of the department in which
4 |Page
the job opening occurs.
An employee who is transferred to a comparable job (lateral transfer) will continue to receive
his/her existing rate of pay.
• login to the system through the first page of the application using the guest
login
• Enter the details of the required in the form available. This form also captures
the details like, name , contact no., and designation of the person.
• He/She can opt to transfer his employee for any job or if his/her request is very
specific then he/she can submit his/her request.
5 |Page
Software development cycle
There exist a number of software development paradigms, each using a different set of
methods and tools. The selection of a particular paradigm depends on the nature of the
application, the programming language used, and the controls and deliverables required.
6 |Page
The development of a successful system depends not only on the objectives of the
system. A successful system must:
3. Be easy to operate,
5. Be easy to modify,
6. Be expandable,
7 |Page
HARDWARE AND SOFTWARE REQUIREMENTS
Hardware Requirements
The present project has been built using a Multimedia Machine with the following
configuration: -
RAM : 256 MB
However, the minimum configuration that is required to run the present system includes:
Software Requirements
The operating system that has been used as a platform to build up the project is
Windows 98, although it can run very well on Windows XP too. Besides this the system
which is to be used for running the present project should have Turbo C++ installed.
CODING
8 |Page
In computer science, code is any collection of statements or declarations written in some
human-readable computer programming language. Code allows the programmer to
communicate with the computer using a reserved number of instructions.
The code which constitutes a program is usually held in one or more text files,
sometimes stored in databases as stored procedures and may also appear as code
snippets printed in books or other media. A large collection of code files may be
organized into a directory tree, in which case it may also be known as a code tree.
A computer program's code is the collection of files needed to convert from human-
readable form to some kind of computer-executable form. The code may be converted
into an executable file by a compiler, or executed on the fly from the human readable
form with the aid of an interpreter. The code base of a programming project is the larger
collection of all the source code of all the computer programs which make up the
project.
We have discussed here some special codes, which play an important part in our project:
#include<iostream.h>
#include<stdio.h>
#include<conio.h>
#include<string.h>
#include<fstream.h>
#include<graphics.h>
FILE *P;
struct abc
int i,x,z,age;
9 |Page
char ch[10],ch9[10],ch1,ch2[10],ch3[10],cn[50];
char m,sname[50],fname[50];
}j;
class project
int i;
public:
void abc();
void info();
void text();
void front()
clrscr();
textcolor(BLACK);
textbackground(YELLOW);
cout<<"\t\t\t\tDATE: "<<__DATE__;
gotoxy(1,10);
10 | P a g e
cout<<" WELCOME TO MEDICAL STORE
MANAGEMENT"; cout<<endl;
gotoxy(15,10);
getch();
};
void project::abc()
textcolor(WHITE);
textbackground(BLUE);
char ch[10]="user123";
char ch9[10]="user",ch1,ch2[10],ch3[10];
i=0;
cout<<"\t\t\t\tDATE: "<<__DATE__;
gotoxy(20,10);
11 | P a g e
while(ch1!=13)
ch1=getch();
ch2[i]=ch1;
putchar('*');
++i;
--i;
ch2[i]=NULL;
gotoxy(30,15);
cin>>ch3;
if((strcmp(ch,ch2)==0)&&(strcmp(ch9,ch3)==0))
{cout<<"\n\n password/id
matched\n\n press any key to continue........";
getch();
clrscr();
12 | P a g e
info();
else
cout<<"\n\n wrong id or
password";
getch();
void project::text()
clrscr();
textcolor(BLACK);
textbackground(MAGENTA);
cout<<"\t\t\t\tDATE: "<<__DATE__;
int x,z,age;
char fname[50],sname[50],cn[50];
char pr[20];
cout<<"\n\n***************************************************
*****************************";
13 | P a g e
cout<<"\n\n\t\t2.For customer *";
cout<<"\n\n\t\t5.Exit *";
cout<<"\n\n***************************************************
*****************************";
cin>>x;
switch(x)
case 1:
clrscr();
cout<<"\t\t\t\tDATE: "<<__DATE__;
cout<<"\n\n\n\n\t\tFIRST NAME:-";
cin>>j.fname;
fwrite(&j.fname,sizeof(j.fname),1,P);
cout<<"\n\t\tSECOND NAME:-";
14 | P a g e
cin>>j.sname;
fwrite(&j.sname,sizeof(j.sname),1,P);
cout<<"\n\t\tCONTACT NO:-";
cin>>j.cn;
fwrite(&j.cn,sizeof(j.cn),1,P);
cout<<"\n\n\n\t\tThanks.........for registering";
break;
case 2:
clrscr();
cout<<"\t\t\t\tDATE: "<<__DATE__;
cout<<"\n\n\n\n\t\tFIRST NAME:-";
cin>>j.fname;
fwrite(&j.fname,sizeof(j.fname),1,P);
cout<<"\n\t\tSECOND NAME:-";
cin>>j.sname;
15 | P a g e
fwrite(&j.sname,sizeof(j.sname),1,P);
cout<<"\n\t\tCONTACT NO:-";
cin>>j.cn;
fwrite(&j.cn,sizeof(j.cn),1,P);
cout<<"\n\n\n\t\tThanks.........for registering";
break;
case 3:
clrscr();
cout<<"\t\t\t\tDATE: "<<__DATE__;
cout<<"\n\n\n\n\t\tFIRST NAME:-";
cin>>j.fname;
fwrite(&j.fname,sizeof(j.fname),1,P);
cout<<"\n\t\tSECOND NAME:-";
cin>>j.sname;
fwrite(&j.sname,sizeof(j.sname),1,P);
16 | P a g e
cout<<"\n\t\tCONTACT NO:-";
cin>>j.cn;
fwrite(&j.cn,sizeof(j.cn),1,P);
cout<<"\n\n\n\t\tThanks";
break;
case 4:
clrscr();
cout<<"\t\t\t\tDATE: "<<__DATE__;
cout<<"\n\n\n\n\t\tMEDICINE'S NAME:-";
cin>>j.fname;
fwrite(&j.fname,sizeof(j.fname),1,P);
cout<<"\n\t\tPRICE:-";
cin>>j.cn;
fwrite(&j.PR,sizeof(j.PR),1,P);
break;
17 | P a g e
case 5:
clrscr();
cout<<"\n\t\t6.Exit";
void project::info()
clrscr();
textcolor(GREEN);
textbackground(BLUE);
int ch;
cout<<"\t\t\t\tDATE: "<<__DATE__;
cout<<"\n\n***************************************************
*****************************";
cout<<"\n\n\t\t1.Paracetamol Brands";
cout<<"\n\n\t\t2.Aspirin Brands";
18 | P a g e
cout<<"\n\n\t\t3.Ibuprofen brands";
cout<<"\n\n\t\t4.Codral Brands";
cout<<"\n\n\t\t5.Lemsip Brands";
cout<<"\n\n***************************************************
*****************************";
cin>>ch;
switch(ch)
case 1:
clrscr();
cout<<"\t\t\t\tDATE: "<<__DATE__;
cout<<"\n\n\n\n Panadol";
cout<<"\n\n\n\n Dymadon";
19 | P a g e
cout<<"\n\n\n\n Lemsip";
cout<<"\n\n\n\n Panamax*";
cout<<"\n\n\n\n Tylenol";
getch();
text();
break;
case 2:
clrscr();
cout<<"\n\n:ASPIRIN BRANDS";
cout<<"\n\n\n\n Disprin";
cout<<"\n\n\n\n solprin*";
getch();
20 | P a g e
text();
break;
case 3:
clrscr();
cout<<"\t\t\t\tDATE: "<<__DATE__;
cout<<"\n\n\n\n Nurofen";
cout<<"\n\n\n\n Advil";
cout<<"\n\n\n\n Brufen*";
cout<<"\n\n\n\n Rafen*";
cout<<"\n\n\n\n Triprofen";
21 | P a g e
getch();
text();
break;
case 4:
clrscr();
cout<<"\t\t\t\tDATE: "<<__DATE__;
getch();
text();
break;
22 | P a g e
case 5:
clrscr();
cout<<"\t\t\t\tDATE: "<<__DATE__;
getch();
text();
break;
default:cout<<"invalid choice";
getch();
23 | P a g e
void main()
char m;
do
clrscr();
textcolor(GREEN);
textbackground(BLACK);
project a;
P=fopen("LP.txt","w+");
a.front();
clrscr();
a.abc();
clrscr();
cin>>m;
}while(m=='y'||m=='Y');
clrscr();
24 | P a g e
cout<<"\t\t\t\tDATE: "<<__DATE__;
cout<<"\n\n\n\n\n\n\n\n\n########################################
######################################";
cout<<"\n####################################################
###########################\n";
fclose(P);
getch();
TESTING
It is the major quality control measure employed during software development. Testing
is the process of executing a program with the intention of finding an error. No piece of
code is completely ready unless it has been fully tested. This stage is very important as it
is certified whether the code developed meet the requirement specification or not. More
over validations are also checked in the testing stage.
25 | P a g e
much larger problem. Second reason for testing is its utility as an
user-oriented vehicle before implementation. Finally testing leads to
software reliability. This increases user confidence in the system.
Levels of Testing
The basic levels of testing are
• Functional Testing
• Structural Testing
• Unit Testing
• Integrity Testing
• Functional Testing
This testing was done on a large scale. Each and every form of the
project was tested to check whether it performs the associated
function in a proper manner for which it has been prepared. In
functional testing the structure of the program is not considered.
Test cases are decided on the basis of the requirements or
specification of the program code or module and the internal of the
module or the program are not considered for selection of test
cases. This is often called “black box testing”. Test case for
functional testing are decided from the module specification
produced from the design.
• Structural Testing:
26 | P a g e
It is considered with testing the implementation of the program.
The structural testing is not to exercise all the different
input/output conditions but to exercise the different programming
structure used in the program. This is also known as glass-box
testing and white box testing methods and is conducted to ensure
that:
♦ All logical decisions on their true and false sides are exercised.
When I test the program there were various errors ,some of the those
errors are reported in this report like:
DEBUGGING:
27 | P a g e
Error 1:. When i debug the problem it was found that I had used “while statement
inside the function of a class. This is against the rules of C++ as inline functions do not
contain control statements.
Solution: I gave the function declaration inside the class. But the definition was given
outside the class with the help of scope resolution operator.
Error 2:. When I tested the program it was found that even if I entered 1 choice, not
only the output related to that choice , but related to all the choices was displayed.
Solution: After debugging it was found that by mistake I forgot to use the break
statement in the switch statement control.
28 | P a g e
MAINTENENCE AND REDESIGNING:
The proposed system with its efficiencies in reducing processing speeds, better
quality services and superior decisions will be worth implementing for future
applications. This system will be used to handle a lot of works which in turn will
save Energy; Time & Provide better services to the Staff of the Post- Office. This
software can be easily used by them as it aims at providing them with a record of
all the Letters and also helps them in feeding relevant information about them
which can be recalled whenever required. It also generates relevant reports and
queries, which may be required by them. Thus, it can be successfully used by the
end users i.e. Office bearers.
Thus, the main advantages of the proposed system will be Speed, Accuracy &
quality of services in generating reports and queries for better decisions.
There is need of proper maintenance of the files in which information is stored.
Proper backup of files should be there.
This project can be further enhanced by adding more features like various kinds of
speed posts and registries records.
29 | P a g e
REFERENCES
Tickets:
3) C++ by Balaguruswamy
Sites:
1) www.en.wikipedia.org
2) www.askjeeves.com
3) www.yahoo.com
4) www.altavista.com
30 | P a g e