A simple yet powerful console-based Employee Management System built in C++ using Object-Oriented Programming concepts.
This project demonstrates real-world implementation of single-level inheritance, encapsulation, and basic authentication.
This system allows you to:
- Add multiple programmers (employees)
- Store their personal and professional details
- Calculate salary based on working hours
- Track experience based on dates
- Secure login system with limited attempts
- Display structured employee profiles
This mini project is designed to strengthen core C++ OOP concepts:
- β Classes & Objects
- β Encapsulation (private/protected/public members)
- β Single-Level Inheritance
- β Function Overloading (logical separation of tasks)
- β Static Data Members
- β Basic Authentication Logic
- β Date-based Experience Calculation
We used Single-Level Inheritance in this project:
Contains:
- Personal info (name, ID, email)
- Salary calculation
- Experience tracking
- Login system
Extends:
- Programming language
- Role (e.g., frontend, backend)
π Inheritance Type: Private Inheritance
- Name, ID, working hours
- Salary per hour
- Email & password (with validation)
- Daily Salary = hours Γ pay/hour
- Monthly Salary = daily Γ 30
- Auto-calculated from joining date to current date
Rating Levels:
- β Senior (5+ years)
- β Associate (3β5 years)
- β Newcomer (1β3 years)
- Email & password authentication
- Maximum 3 attempts
- Access control before showing data
- Enter number of programmers
- Input details for each employee
- Login for each employee
- If login successful β display profile
- Otherwise β access denied