Skip to content

A console application to create a report on detailed payment for all of the employees in the company for a specific month.

Notifications You must be signed in to change notification settings

phucthuan1st/EmployeeSalary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmployeeSalary

A console application to create a report on detailed payment for all of the employees in the company for a specific month.

About:

We are FIT@HCMUS student. In OOP, we have a salary payment for employer, and this is it's implementation.

Project description:

Project Employee payment

Contributer

Many thanks to

  • Mr. Trần Duy Quang
  • Mr. Nguyễn Lê Hoàng Dũng

For this project, we use these following library:

  1. string
  2. ctime
  3. vector
  4. fstream

What we have done:

  • Read the file
  • Print out all the employees' information and the final payment for each employee.

To compile and build this project, you should follow these instruction:

Environment: Windows (DOS)

Instruction:

  1. Clone this repository to your local
git clone https://github.com/phucthuan1st/EmployeeSalary/

If your PC do not have git yet, just install it Git install instruction

  1. Start a command promt or terminal in your folder repository (or using cd command)
cd ./EmployeeSalary/
  1. Compile source file using c++ compiler (such as mingw c++ as below)
g++ Employee.cpp main.cpp -o ./Release/EmployeeSalary

You can also compile it by MSVC in VS too

  1. Open executive file in Release folder or type command to terminal:
./Release/EmployeeSalary

You can combine step 3 and 4 like following:

g++ Employee.cpp main.cpp -o ./Release/EmployeeSalary ; ./Release/EmployeeSalary

For bonus:

  • We use github to manage our code from the beginning of this project, because we think it will useful for further career.
  • We use 3 design patterns:
    • Prototype
    • Factory
    • Singleton

Expected grade

We share same role, and do complete the project, so we expect to get 10 for each

  • Nguyễn Phúc Thuần - 20120380: 10
  • Lê Trương Kinh Thành - 20120373: 10

Demo:

You can see a mini demo of this project in this link Youtube Demo or Youtube Rick roll

Note

You can use the execution file in ./Release without compile it by do step 1 & 2, then do step 4

git clone https://github.com/phucthuan1st/EmployeeSalary
cd ./EmployeeSalary
./Release/EmployeeSalary

Thanks for visiting us 🤑🤑

About

A console application to create a report on detailed payment for all of the employees in the company for a specific month.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages