A simple, lightweight, and powerful C-based project to manage student records using file handling and role-based access control.
This Student Record Management System is a console application written in C to perform basic operations on student records such as:
- ➕ Add Student
- 📋 Display All Students
- 🔎 Search by Roll Number
- ✏️ Update Student Data
- ❌ Delete Student (Admin Only)
It uses text files for storage, making it easy to run on any system without database installation.
- Username & Password Authentication
- Role-Based Access
Each user role has different permissions:
| Feature | Admin | Staff | User | Guest |
|---|---|---|---|---|
| Add | ✔️ | ✔️ | ❌ | ❌ |
| Display | ✔️ | ✔️ | ✔️ | ✔️ |
| Search | ✔️ | ✔️ | ✔️ | ✔️ |
| Update | ✔️ | ✔️ | ❌ | ❌ |
| Delete | ✔️ | ❌ | ❌ | ❌ |
students.txt→ Student Databasecredentials.txt→ Login Credentials
Student_Record_Management_System/
│
├── README.md
├── student_app.c
├── credentials.txt
└── students.txt
1️⃣ Start Program
2️⃣ Enter Username & Password
3️⃣ System Validates Login
4️⃣ Loads Appropriate Menu
5️⃣ Perform Operations
6️⃣ Save Data to File
7️⃣ Logout
username password role
admin admin123 admin
staff staff123 staff
user user123 user
guest guest123 guest
roll name marks
1 John 78.5
2 Maya 88.0
3 Alex 90.0
gcc student_app.c -o student_app./student_appSTART
|
LOGIN
|
VALID USER? -> NO -> Retry/Exit
|
LOAD MENU
|
OPERATIONS
|
LOGOUT
|
END
=====================================
STUDENT RECORD SYSTEM
=====================================
USERNAME : admin
PASSWORD : admin123
✔ Login successful! Logged in as: admin
- ⭐ Hidden Password
- ⭐ Sorting Options
- ⭐ GUI Version
- ⭐ CSV Export
- ⭐ Color UI
- ⭐ Statistics Dashboard
- 🎓 Students Learning C
- 🧪 File Handling Lab Projects
- 🧠 Beginners in Programming
- 🏫 Diploma/Degree Mini Projects
Made with ❤️ in C