employee management c++ ssvv

Upload: hareesh-yadav

Post on 14-Apr-2018

224 views

Category:

Documents


1 download

TRANSCRIPT

  • 7/27/2019 Employee Management C++ SSVV

    1/46

    SAMPURNANAND SANSKRIT VISWAVIDYALAYAVARANASI

    Sant Ravidas Bharatiya Takaniki Evam VyavasayikSiksha Sansthan

    Session 2011-12

    A project report

    on

    EMPLOYEE MANAGEMENT SYSTEM

    Submitted in fulfillment for the award of the Diploma of

    Post Graduate Diploma in Computer Application

    (PGDCA)

    Guide by Submitted By

    Mr. Vijay Mani Tripathi Meena Mishra

    Mr. Mohit Shukla Simi Shukla

    Mr. Asha Pati Shastri Priti Singh

  • 7/27/2019 Employee Management C++ SSVV

    2/46

    Index

    SL No. TOPIC

    1. TITLE OF THE PROJECT

    2. ACKNOWLEDGEMENT

    3. INTRODUCTION

    4. OBJECTIVE

    5. SOFTWARE REQUIREMENT

    6.HARDWARE REQUIREMENT

    7. CODING

    8. SCREEN SHOTS

    9. CONCLUSION

    10. FUTURE SCOPE & ENHANCEMENT

    11. BIBLOGRAPHY

  • 7/27/2019 Employee Management C++ SSVV

    3/46

    ACKNOWLEDGEMENT

    It is the matter of great satisfaction for us that we are making our project

    on EMPLOYEE MANAGEMENT SYSTEM.

    There were certain other people involved in this project that helped us in

    completing this project on time. They provided us the kind of backing up that

    one requires for successful completion of the task.

    We are extremely thankful to the faculties of class who gave us a helping

    hand whenever we faced any sort of difficulties during our project work. We

    would like to acknowledge our parents who provided the able support in all

    respects and our friends who supported us in completing our project work.

    Above all, we would like to thank our project guide, Mr.Vijay Mani

    Tripathi and Mr. Mohit Mishra and Mr. Asha Pati Sashtri who helped us

    whenever we needed him. He provided all the information pertaining to the

    project regarding database design and also kipped us in removing the

    inadequacies of the project.

  • 7/27/2019 Employee Management C++ SSVV

    4/46

    Introduction

    Employees are the spine of any company; their management plays a

    major role in the ultimate success of the organization. In a consistent format. inall fields and sectors The revolutionary trends of computerization have reached

    the peaks achieving global goals. The Employee systems getting computerized

    are leading to a new and innovative way to approach to above said. With the

    major organizations hosting services of EMS our project specifically aims to

    the total computerization of maintain data of Employee.

    Todays trend demands high rate of automation for the Employee

    Management as the organizations are growing in exponential form and

    maintaining employment records.

    Using this software, the companies can gather, organize and manage all

    information of the staff as and when required. The workforce management

    requirements vary from organization to organization. So, we develop custom

    employee information management software that could be the exact fit for your

    companys needs

    This software allows you to edit your employees, add new employees,

    show list of employees and delete data of employee. Each employee in the

    database is associated with a position, which you can add/edit as well.

    Thanks,

  • 7/27/2019 Employee Management C++ SSVV

    5/46

    Objective

    Your employees are the core of any company and the main factors in

    determining a companys success or growth. This makes it very important

    to invest in effective and well planned employee management system andI m going to help you choose the right employee management system for

    your business that will help you createa good management system.

    Quick availability of accurate information makes it easy for the headsto determine future management requirements that result in higher

    productivity

    Maintain the record of the tasks performed by all employees in anindividual manner, which turns helpful for the management during

    their yearly or quarterly appraisals

    It performs a number of functions such as employee data analysis,employee monitoring, centralized employee database, worksheet &

    timesheet management, and so on.

    Decrease in the overall administration and managerial cost Higher profits and reduced burdens Easy to use software that meet all your business requirements

    efficiently.

  • 7/27/2019 Employee Management C++ SSVV

    6/46

    HARDWARE &SOFTWARE REQUIRMENT

    The Installation of the software is very easy but it is to be ensured by the user that the

    following software and hardware requirements are met at the time of installation.

    SYSTEM REQUIREMENT SPECIFICATION

    In this section, we are going to discuss about the hardware and software requirements

    of the software so as I can work properly and also we are going to discuss about the

    tools which are going to be used to code the software.

    HARDWARE SPECIFICATION:-

    It is recommended that the minimum configuration for clients is as appended

    below:-

    Suggested Configuration of Windows clients:-

    Microprocessor : - Pentium-III & Above

    Ram : - 256MB of RAM

    Hard Disk : - 20 gigabytes (GB) on installation drive,

    This includes 500 MB on system drive.

    CD ROM Drive : - 52 X CD ROM Drive

    Printer :- High quality laser printer.

    Scanner :- High quality Scanner.

  • 7/27/2019 Employee Management C++ SSVV

    7/46

    SOFTWARE SPECIFICATION

    LANGUAGE/PLATFORM USED

    Microsoft Windows XP OS. Turbo C++ MS office. Printer s/w installed. Scanner s/w installed.

  • 7/27/2019 Employee Management C++ SSVV

    8/46

    Software Engineering Paradigm

    Software Characteristics

    The following are the main characteristics of the software:

    1.The software will be user friendly. Any user with the basic computerskills will be able to use the web site.

    2.This has minimum hardware requirements so that much efficientcoding.

    3. It will be highly secure application software. Only authorized personwill be able to use the software.4.The site can be used on both Internet and Intranet without any majorchanges.

    Modular approach is used for developing the proposed system A

    system is considered modular if it consists of discrete components so

    that each component can be implemented separately and a change to

    one component has minimal impact on other components Everysystem is a hierarchy of components This system is not a exception to

    design such a Hierarchy there are two approaches:

    1.Top down2. Bottom up

    Both approaches have some merits & demerits for this system

    top-down approach have been used. It starts by identifying the major

    components of the system. Decomposing them into their lower level

    components and iterating until the derived level of detail is achieved.

    Top-down design method often results in some form of stepwise

    refinement starting from an abstract design, in each step the design is

    refined to a concrete level, until we reach a level where no morerefinement is needed & the design can be implemented directly. A

  • 7/27/2019 Employee Management C++ SSVV

    9/46

    top-down approach is suitable only if the specification of the system

    is from scratch.

    A bottom-up approach starts with designing the basic orprimitive components and proceeds to higher level components that

    use the lower level components. Requirement of user is most

    important factor associated with, any software & for that purpose

    prototyping model is used.

    Prototyping has certain advantage s like we dont have to freezethe user requirement before any design and coding can proceeds,

    instead a throw away prototyping is build to help understand the

    requirements. Development of prototype is built to help understand

    the requirements. Development of prototype obviously undergoes

    design, coding & testing but each of these phases is not done very

    formally or thoroughly.

    By using this prototype the client can get an actual feel of the

    system, since the interaction with the prototype can enable the client

    to better understand the requirement of the desired system.

    Because the system is complicated & large and there is no

    existing system (computerized) Prototyping is an attractive idea. It is

    also an effective method of demonstrating the feasibility of the certain

    approach.

  • 7/27/2019 Employee Management C++ SSVV

    10/46

    LIMITATION OF THE EXISTING SYSTEM

    In this section, we shall discuss the limitation and drawbacks of

    the existing system that forced us to take up this project. This problem

    produced a need to change the existing system. Some of these

    shortcomings are discussed below:

    LOW FUNCTIONALITY

    With the existing system, the biggest problem was the low

    functionality of the Employee system. The problem faced hampered

    the work of the Employee system. For small tasks like keeping the

    record a large number of employees are appointed who would have

    been utilized in other useful tasks.

    ERRONEOUS INPUT AND OUTPUT

    In the existing system, humans performed all the tasks. As in the

    human tendency, errors are also possibility. Therefore, the data

    entered by the employee in the register may not be absolutely

    foolproof and may be erroneous. As a result of wrong input, the

    output reports etc. will also be wrong which would in turn affect the

    performance of the system.

  • 7/27/2019 Employee Management C++ SSVV

    11/46

    PORTABILITY

    System that existed earlier was manual. As a result, the system

    was less portable. One has to carry the load of so many records to take

    the data from one place to another. A big problem was that the system

    was less flexible and if one wanted to make a change would need to

    change in all the register that would also prove to be big headache.

    SECURITY

    Security concern was also one of the motives of the

    EMPLOYEE SYSTEM for the need of the software. In the records,

    the data is not secure as anybody can temper with the data written in

    the records. Also for the security of the register, a lot of problem

    arises to store the records in a place and the appointment of security

    personal can also cost a bit. Whereas in the given web service, just the

    password make it absolutely secure from the reach of unauthorized

    users.

    DATA REDUNDANCY

    In the case of manual system, the records are maintained in

    which a lot of data is written. Therefore there is a problem in the

    records that the same data may be written again and again against the

    employee no, a lots of data will be repeated which will cause a lot of

    problems at the time of query as well as at the time of preparing the

    reports because a single data that will be left mistakenly will largely

    affect the report and subsequently the performance of the

    EMPLOYEE system. In the software the concept of the primary key

  • 7/27/2019 Employee Management C++ SSVV

    12/46

    and foreign key is used very efficiently which will prevent the

    redundancy of data that will prove to be very beneficial to the

    EMPLOYEE system because it will nullify the human error

    completely.

    PROCESSING SPEED

    In manual system, for a simple work, a number of employees are

    appointed and in case of a number of calculation and in preparation of

    EMPLOYEE system report, they will take a lot of time, which will

    affect the performance of the MOBILE system as well as hamper the

    progress of the EMPLOYEE system. It also affects the speed of

    working in the EMPLOYEE system and the work that could be

    completed in a small span of time would take a lot of time. But in the

    case of software, all the tasks are performed at the touch of the key,

    which improves the performance.

    FINANCIAL PROBLEMS

    One other area of major concern is the unnecessary drainage of

    the capital of the concerning body by means of payment to the

    employees that are appointed to familial the tasks that, the software

    can perform in seconds. When this software will be implemented, this

    one will save a lot of colleges capital in the year to come that will

    improve the position of the company by a large extent.

  • 7/27/2019 Employee Management C++ SSVV

    13/46

    MANUAL ERRORS

    When a number of tough tasks are prepared by the human like

    the preparation of reports, preparation of employee system records

    etc. then some errors at obvious due to a number of factor like mental

    stress , tiredness etc. But as we know that computer never gets tires

    irrespective of the amount of the woks it has to do. So this software

    can nullify the probability of manual error that improves the

    Employee system performance.

    COMPLEXITY IN WORK

    In manual system, whenever the record is to be updated or to be

    deleted, a lot of cutting and overwriting needs to be done on all the

    register that are concerned deleted or updated record which make the

    work very complex. However in the software, once a record is

    updated or deleted, all the concerned changes are made in thedatabase automatically. The above are the limitation of the existing

    system that forced the Employee system to request for foolproof

    software that would help Employee system get rid of all the above

    problems. In the subsequent sections, we will discuss the steps that

    were involved in the successful completion of the project in details.

    APPROACH TO PROBLEM SOLVING

    In software engineering there are various process models, which

    deal with the way the software is made Since the when it is not clear

    what the requirement is before designing the system, and system

    requirement can change then the best approach is to use

    PROTOTYPE MODEL In this project the requirement were not

    known before head Therefore I have used Prototype as an approach

    for designing the new system

  • 7/27/2019 Employee Management C++ SSVV

    14/46

    PROTOTYPING MODEL

    The goal of a prototyping-based development is that instead of

    freezing the requirements before any design or coding can proceed, a

    throwaway prototype is built to help understand the requirements.

    Development of prototype model obviously undergoes design, coding

    and testing but for each phase is not done very formally or thoroughly

    By using this prototype, the client can get an actual feel of the system,

    because the interaction with the prototype can enable the client tobetter understand the requirements of the desired system. This result

    in more stable requirement changes less frequently.

    After the prototype is made, the end users and the clients are

    given an opportunity to use the prototype and play with it. Based on

    their experience, they provide feedback to the developers regarding

    the prototype:

    what is correct, what needs to be modified, what is needed, what

    is wrong and suggest changes that can be done easily. Then the client

    and user are given the prototype again This cycle continues until in

    judgment of the prototype and analysts, the benefit from further

    changing the system and obtaining feedback is overweigh by the cost

    and time involved in making the changes and obtaining the feedback.

    Back on the feed back, the initial requirement specification which isthen used to develop the production quality system.

  • 7/27/2019 Employee Management C++ SSVV

    15/46

    DESCRIPTION OF THE PROPOSED SYSTEM

    The basic aim in the proposed new system was to provide all

    improvised functionality and flavors of the existing system minus the

    entire drawbacks or the shortcoming analyzed with front-end like C++

    most of the major irritants due to the convention file system were

    removed without any efforts.

    All records in this system are stored in separate databases that

    are updated regularly, so whenever required these databases used to

    respond to user queries.

    Several other aspects that the proposed system provides are easy

    updating, insertion and deletion of the customer detail along with this

    it is also capable of showing all customers information.

    EXPECTATIONS FROM THE PROPOSED SYSTEM

    The basic aim of the system was to provide all improved

    function minus all drawbacks that existed in the previous system. All

    the major drawback or shortcomings listed are removed. The

    advantage that occurred from having centralized control of data was

    following:

    Redundancy could be removed

    Security checks could be incorporated

    Standard could be forced

    Inconsistency could be removed to some extent

  • 7/27/2019 Employee Management C++ SSVV

    16/46

    Performance Requirement

    The following performance requirements were taken care of indeveloping the system:-

    USER FRIENDLY

    The system is easy to learn and understand. A native user can use the

    system efficiently without any difficulty.

    USER SATISFACTION

    The system is also such that it stands utmost to the user expectation

    QUICK RESPONSE

    The rest time had been tried to keep minimum though there exited a

    bulk of data.

    SECURITY

    The program is able to apply some security checks.

    ROBUSTNESS

    The system recovers from undesired system without human

    intervention.

  • 7/27/2019 Employee Management C++ SSVV

    17/46

    BENEFITS FROM THE PROPOSED SYSTEM

    Computer system is a new system based on modern technologies.

    This system is primarily used to overcome the drawbacks of the

    manual system and also for the additional benefits, which are not

    possible otherwise. The advantages of the computer-based system can

    be listed in brief as given below:

    Computer saves the manpower

    In our cases reports are prepared accurately, easily and economically

    with the help of computer. If computer system is properly managedand protected, malpractice and tempering may be checked completely.

    Differently types of inferences may he drawn which is not possible

    manually. Neat and clean print out is obtained through computers.

    Paper records are damaged easily and preparation of second copy is

    very tedious job having big possibilities of human, logical, and

    technical errors. If due care is not taken, duplicate records may not be

    mirror image of that of original one. Computer easily tackles thisproblem, where number of backup copies can be prepared easily.

    Storage media that are used in computers are compact and safe as that

    voluminous data can be stored in a very small place. This automated

    system is less time consuming and quite efficient. This system is user

    friendly .Since it is menu driven software so it is easily

    understandable by the user. As the system is computerized there

    wont be any calculation mistake, moreover proper checks have been

    incorporated to detect any kind of errors. There is no data redundancy

    Since data in the computer is normalized form there wont be

    repetition of same data at different levels there are proper constraints

    incorporated to check the repetition of data.

    Computerization will increase throughput of the system as the

    retrieval of the information is fast depending on the user requirement.All the report can be prepared without delay.

  • 7/27/2019 Employee Management C++ SSVV

    18/46

    Coding

    #include

    #include#include

    #include

    #include

    #include

    #define max 20

    struct employee

    {

    char name[20];

    long int code;

    char designation[20];

    int exp;

    int age;

    };

    int num;

    employee emp[max],tempemp[max],sortemp[max],sortemp1[max];

    void main()

    {

    clrscr();

    void build();

    void list();

    void insert();

    void deletes();

    void edit();

    void search();

  • 7/27/2019 Employee Management C++ SSVV

    19/46

    void sort();

    char option;

    void menu();

    menu();

    while((option=cin.get())!='q')

    {

    switch(option)

    {

    case 'b':

    build();

    break;

    case 'l':

    list();

    break;

    case 'i':

    insert();

    break;

    case 'd':

    deletes();

    break;

    case 'e':edit();

    break;

    case 's':

    search();

    break;

    case 'n':

    sort();

  • 7/27/2019 Employee Management C++ SSVV

    20/46

    break;

    }

    menu();

    }

    }

    void menu()

    {

    clrscr();

    highvideo();

    cout

  • 7/27/2019 Employee Management C++ SSVV

    21/46

    cout

  • 7/27/2019 Employee Management C++ SSVV

    22/46

    cin>>emp[i].age;

    }

    cout

  • 7/27/2019 Employee Management C++ SSVV

    23/46

    {

    clrscr();

    int i=num;

    num+=1;

    highvideo();

    cprintf("Insert New Record");

    cout

  • 7/27/2019 Employee Management C++ SSVV

    24/46

    int check;

    cprintf("Delete An Entry\n");

    normvideo();

    cout

  • 7/27/2019 Employee Management C++ SSVV

    25/46

    tempemp[i]=emp[i];

    }

    }

    }

    num--;

    for(i=0;i

  • 7/27/2019 Employee Management C++ SSVV

    26/46

    coutjobcode;

    editmenu();

    for(i=0;i

  • 7/27/2019 Employee Management C++ SSVV

    27/46

    editmenu();

    }

    }

    }

    }

    void editmenu()

    {

    clrscr();

    cout

  • 7/27/2019 Employee Management C++ SSVV

    28/46

    {

    cout>emp[i].designation;

    }

    void editexp(int i)

    {

    coutemp[i].exp;

    }

    void editage(int i)

    {

    coutemp[i].age;

    }

    void search()

    {

    clrscr();

    highvideo();

    cprintf("Welcome To Search Of Employee Database");

    normvideo();cout

  • 7/27/2019 Employee Management C++ SSVV

    29/46

    {

    if(emp[i].code==jobcode)

    {

    cout

  • 7/27/2019 Employee Management C++ SSVV

    30/46

    void sortname();

    void sortcode();

    void sortdes();

    void sortexp();

    char option;

    void sortage();

    cout

  • 7/27/2019 Employee Management C++ SSVV

    31/46

    break;

    }

    sortmenu();

    }

    }

    void sortmenu()

    {

    clrscr();

    cout

  • 7/27/2019 Employee Management C++ SSVV

    32/46

    {

    sortemp1[i]=emp[i];

    }

    for(i=0;i

  • 7/27/2019 Employee Management C++ SSVV

    33/46

    cout

  • 7/27/2019 Employee Management C++ SSVV

    34/46

    for( i=0;i

  • 7/27/2019 Employee Management C++ SSVV

    35/46

    sortemp1[i]=emp[i];

    }

    for(i=0;i

  • 7/27/2019 Employee Management C++ SSVV

    36/46

    }

    cout

  • 7/27/2019 Employee Management C++ SSVV

    37/46

    cout

  • 7/27/2019 Employee Management C++ SSVV

    38/46

    if(sortemp1[i].exp

  • 7/27/2019 Employee Management C++ SSVV

    39/46

    Screen shots

    Main Menu

  • 7/27/2019 Employee Management C++ SSVV

    40/46

    Build a Record

  • 7/27/2019 Employee Management C++ SSVV

    41/46

  • 7/27/2019 Employee Management C++ SSVV

    42/46

    List of Records

  • 7/27/2019 Employee Management C++ SSVV

    43/46

    Insert a new

    Record

  • 7/27/2019 Employee Management C++ SSVV

    44/46

    Edit a

    Record

  • 7/27/2019 Employee Management C++ SSVV

    45/46

    Search a Record

  • 7/27/2019 Employee Management C++ SSVV

    46/46

    Sort a Record