A simple console-based Student Record Management System built in C++ that allows users to sign up, log in, and manage student records (Add, Display, Search, Update, Delete). The data is stored using CSV files.
- ✅ User Authentication (Signup/Login using
users.txt) - ➕ Add Student (Roll No, Name, Marks)
- 📋 Display All Students
- 🔍 Search Student by Roll No
- ✏️ Update Student Information
- ❌ Delete Student Record
- 📁 Persistent storage using text and CSV files
- Signup – Adds a new user to
users.txt. - Login – Checks credentials from
users.txt. - Only authenticated users can access the Student Management System.
- All records are stored in
student.csvwith fields:rollno,name,marks,grade
.
├── main.cpp // Main application logic
├── users.txt // Stores user credentials
├── student.csv // Stores student records
└── README.md // Project documentation
--- Main Menu ---
1. Add Student
2. Display All Students
3. Search Student
4. Update Student
5. Delete Student
6. Exit
1,sarvesh,85.5,B
2,sarang,92.0,A
-
Compile:
g++ main.cpp -o studentApp
-
Run:
./studentApp
-
Follow prompts to sign up, log in, and manage student data.
- C++ Compiler (g++, clang++)
- Basic knowledge of file handling in C++
- If a non-integer is entered for menu options (like pressing
q), the program will detect the error and prompt again instead of crashing or looping infinitely.
- Passwords are stored in plaintext (for simplicity); not recommended for real applications.
student.csvandusers.txtare created if they don’t exist.- Grades are auto-calculated:
A: 90+ B: 75–89 C: 60–74 D: 40–59 F: Below 40
Feel free to fork and enhance:
- Add password masking
- Improve file encryption
- Create a GUI using C++ libraries like Qt
This project is open-source and free to use for learning purposes.