Skip to content

KayasSecret/Employee-Leave-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Employee Leave Management System (C Project)

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.

🌟 Features

👑 Admin Module

  • 🔐 Secure Admin Login
  • ➕ Add New Employees
  • 👀 View All Employee Records in Tabular Format
  • ❌ Delete Employee Records
  • 💾 Automatic Data Saving using Binary Files (EXE FORMAT)

👨‍💼 Employee Module

  • 🔑 Login using Employee ID
  • 📝 Apply for Leave
  • 📊 View Leave Balance (Total / Used / Remaining)
  • 💾 Persistent Data (Data never lost after closing program)

🧠 Concepts Used

  • C Structures
  • File Handling (Binary Files .dat)
  • Functions & Modular Programming
  • Arrays
  • Macros (#define)
  • ANSI Color Codes (Attractive UI ✨)
  • Menu Driven Program

📂 Project Structure

Employee-Leave-Management-System/
│
├── index.c          # Main source code
├── employee.dat    # Binary data file (auto-created)
└── README.md       # Project documentation

🔐 Login Credentials

Admin Login

Username : Arvind
Password : mca25

Employee Login

Login using Employee ID only

⚙️ How to Compile & Run

Step 1: Compile

gcc index.c -o index.exe

Step 2: Run

./index.exe

💡 Make sure GCC compiler is installed on your system.


🎨 User Interface Preview

  • Colorful Console Output (Yellow & Cyan)
  • Clean Menus
  • Proper Alignment & Tables

📌 Default Rules

  • Total Leave per Employee = 30 Days
  • Leave balance auto-calculated
  • Data saved automatically after every operation

🚀 Future Enhancements

  • Password for Employees
  • Leave Approval System
  • Date-wise Leave History

🏆 Conclusion

This project is a complete beginner-to-intermediate level C project with real-world use case.

✨ Happy Coding!

About

A console-based Employee Leave Management System built in C using file handling for persistent data storage. Designed to manage employee records and leave balances with a secure admin module.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages