A simple C++ Student Management System that allows users to add, view, sort, search, and delete student records. The system also supports file storage, ensuring data persistence.
π Programming Language: C++ (Object-Oriented Programming)
π Data Storage: File Handling (fstream)
π Libraries Used:
βοΈ vector for dynamic data storage
βοΈ algorithm for sorting operations
βοΈ fstream for reading & writing files
βοΈ Add Student β Enter student details (Name, Roll No, Course, Marks)
βοΈ View All Students β Display all student records
βοΈ Sort Students β Sort by Roll Number, Name, or Marks
βοΈ Search Student β Find a student by Roll Number
βοΈ Delete Student β Remove a student from the system
βοΈ Persistent Storage β Saves data in database.txt
git clone https://github.com/yourusername/StudentManagement.git
cd StudentManagementg++ main.cpp student.cpp -o student_management./student_managementβ Main Menu
--- Student Management System ---
1. Add Student
2. Display All Students
3. Sort Students
4. Search Student
5. Delete Student
6. Save & Exit
Enter choice:
β Sorting Feature
Sort By:
1. Roll Number
2. Name
3. Marks
Enter choice: 3
Students sorted by Marks (Descending).
π GUI Integration using Qt or Tkinter
π Data Encryption for secure storage
π Command-Line Colors for better UI
- Fork the repository
- Create a branch:
git checkout -b feature-branch - Commit changes:
git commit -m "Added new feature" - Push to branch:
git push origin feature-branch - Create Pull Request
This project is open-source and available under the MIT License.