A console application to create a report on detailed payment for all of the employees in the company for a specific month.
We are FIT@HCMUS student. In OOP, we have a salary payment for employer, and this is it's implementation.
- Mr. Trần Duy Quang
- Mr. Nguyễn Lê Hoàng Dũng
- string
- ctime
- vector
- fstream
- Read the file
- Print out all the employees' information and the final payment for each employee.
- 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
- Start a command promt or terminal in your folder repository (or using cd command)
cd ./EmployeeSalary/
- 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
- 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
- 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
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
You can see a mini demo of this project in this link Youtube Demo or Youtube Rick roll
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