Welcome to the Employee Leave Management System, a complete console-based C project designed for managing employee records and their leave balances using file handling.
- 🔐 Secure Admin Login
- ➕ Add New Employees
- 👀 View All Employee Records in Tabular Format
- ❌ Delete Employee Records
- 💾 Automatic Data Saving using Binary Files (EXE FORMAT)
- 🔑 Login using Employee ID
- 📝 Apply for Leave
- 📊 View Leave Balance (Total / Used / Remaining)
- 💾 Persistent Data (Data never lost after closing program)
- C Structures
- File Handling (Binary Files
.dat) - Functions & Modular Programming
- Arrays
- Macros (
#define) - ANSI Color Codes (Attractive UI ✨)
- Menu Driven Program
Employee-Leave-Management-System/
│
├── index.c # Main source code
├── employee.dat # Binary data file (auto-created)
└── README.md # Project documentation
Username : Arvind
Password : mca25
Login using Employee ID only
gcc index.c -o index.exe./index.exe💡 Make sure GCC compiler is installed on your system.
- Colorful Console Output (Yellow & Cyan)
- Clean Menus
- Proper Alignment & Tables
- Total Leave per Employee = 30 Days
- Leave balance auto-calculated
- Data saved automatically after every operation
- Password for Employees
- Leave Approval System
- Date-wise Leave History
This project is a complete beginner-to-intermediate level C project with real-world use case.