Payroll Management System
“Program Code” Download cpp File
//**********************************************************
// PROJECT PAYROLL //********************************************************** //********************************************************** // INCLUDED HEADER FILES //********************************************************** #include <iostream.h> #include <fstream.h> #include <process.h> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <ctype.h> #include <conio.h> #include <dos.h> //********************************************************** // THIS CLASS CONTAINS ALL THE DRAWING FUNCTIONS //********************************************************** class LINES { public : void LINE_HOR(int, int, int, char) ; void LINE_VER(int, int, int, char) ; void BOX(int,int,int,int,char) ; void CLEARUP(void) ; void CLEARDOWN(void) ; } ; //********************************************************** // THIS CLASS CONTROL ALL THE FUNCTIONS IN THE MENU //********************************************************** class MENU { public : void MAIN_MENU(void) ; private : void EDIT_MENU(void) ; void INTRODUCTION(void) ; } ; //********************************************************** // THIS CLASS CONTROL ALL THE FUNCTIONS RELATED TO EMPLOYEE //********************************************************** class EMPLOYEE { public : void NEW_EMPLOYEE(void) ; void MODIFICATION(void) ; void DELETION(void) ; void DISPLAY(void) ; void LIST(void) ; void SALARY_SLIP(void) ; private : void ADD_RECORD(int, char[], char[], char[], int, int, int, char[], char, char, char, float, float) ; void MODIFY_RECORD(int, char [], char [], char [], char [], char, char, char, float, float) ; void DELETE_RECORD(int) ; int LASTCODE(void) ; int CODEFOUND(int) ; int RECORDNO(int) ; int FOUND_CODE(int) ; void DISPLAY_RECORD(int) ; int VALID_DATE(int, int, int) ; int code, dd, mm, yy ; char name[26], address[31], phone[10], desig[16] ; char grade, house, convense ; float loan, basic ; } ; //********************************************************** // THIS FUNCTION CONTROL ALL THE FUNCTIONS IN THE MAIN MENU //********************************************************** void MENU :: MAIN_MENU(void) { char ch ; LINES L ; L.CLEARUP() ; while (1) { clrscr() ; gotoxy(14,3); cout<<"C++ Project for Payroll Management System By – Vivek Kumar"; L.BOX(25,7,57,9,218) ; L.BOX(10,5,71,21,218) ; L.BOX(11,6,70,20,219) ; gotoxy(29,8) ; cout <<"PAYROLL MANAGEMENT SYSTEM" ; gotoxy(30,11) ; cout <<"1: NEW EMPLOYEE" ; gotoxy(30,12) ; cout <<"2: DISPLAY EMPLOYEE" ; gotoxy(30,13) ; cout <<"3: LIST OF EMPLOYEES" ; gotoxy(30,14) ; cout <<"4: SALARY SLIP" ; gotoxy(30,15) ; cout <<"5: EDIT" ; gotoxy(30,16) ; cout <<"0: QUIT" ; gotoxy(30,18) ; cout <<"ENTER YOUR CHOICE :" ; gotoxy(5,23); cout<<"www.imteg.in, Email : [email protected]"; ch = getch() ; if (ch == 27 || ch == '0') break ; else if (ch == '1') { EMPLOYEE E ; E.NEW_EMPLOYEE() ; } else if (ch == '2') { EMPLOYEE E ; E.DISPLAY() ; } else if (ch == '3') { EMPLOYEE E ; E.LIST() ; } else if (ch == '4') { EMPLOYEE E ; E.SALARY_SLIP() ; } else if (ch == '5') EDIT_MENU() ; } L.CLEARUP() ; } //********************************************************** // THIS FUNCTION CONTROL ALL THE FUNCTIONS IN THE EDIT MENU //********************************************************** |
INTRODUCTION
The objective of the “ PAYROLL Management System” is to provide a system which manages the Payroll Activity i.e. the salary paid for each employee in a company depending upon the attendance and its calculation which is very huge. The user will consume less amount of time when compared to manual paper work through the automated system. The system will take care of all the payroll activities like managing each employee’s attendance, the number of leaves taken by that particular employee and calculation in a very quick manner. Data storing is easier. Paper work will be reduced and the company staffs spend more time on monitoring the progress. The system is user friendly and easy to use. All the information data’s will be stored in the Database and it avoids any miscalculation.
DATABASE :
A Database System is basically a computer based record keeping system. The collection of data, usually reffered to as the database, contains information about one particular enterprise. It maintains any information that may be necessary to the decision – making processes involved in the management of that organization.
A Database may also be defined as a collection of interrelated data stored together to serve multiple applications; the data is such stored so that it is independent of programs which use the data; a common and controlled approach is used in adding new data and in modifying and retrieving existing data within the database. The intention of a database is that the same collection of data should serve asmany applications as possible. Hence, a database is often conceived of as the repository of information needed for certain function in a corporation or organisation. Download Source Code
|