An open API service indexing awesome lists of open source software.

https://github.com/mehedi-86/social-media-management

Student Database Management System 🎓 A C++ console-based application for managing student records, including insertion, deletion, searching, updating grades, and displaying all students.🚀
https://github.com/mehedi-86/social-media-management

social-media-analysis social-media-app social-media-management

Last synced: 8 months ago
JSON representation

Student Database Management System 🎓 A C++ console-based application for managing student records, including insertion, deletion, searching, updating grades, and displaying all students.🚀

Awesome Lists containing this project

README

          

📌 Student Database Management System

📖 Introduction


The Student Database Management System is a C++ program that allows users to store, retrieve, update, and delete student records using an unordered_map for efficient data management. The system provides a menu-driven interface to perform various operations on student records, such as inserting, searching, updating grades, and displaying all records.

âš¡ Features



  • ✅ Insert Student → Add student ID & grade to the database.

  • ✅ Delete Student → Remove a student using their ID.

  • ✅ Search Student → Find a student by their ID and display their grade.

  • ✅ Update Grade → Modify the grade of an existing student.

  • ✅ Display All Students → Show all students and their details.

  • ✅ Display Size → Show the total number of students.

  • ✅ Clear Database → Remove all student records.

  • ✅ Exit → Close the program.

🛠 How to Run the Program


🔹 Steps to Compile and Run (Using g++)



  1. Open a terminal or command prompt.

  2. Navigate to the folder where the file is saved.

  3. Compile the program using:
    g++ -o student_db student_db.cpp


  4. Run the program using:
    ./student_db


📌 Usage Example


🔹 Menu Example



Menu:
1. Insert Student
2. Delete Student
3. Search Student
4. Update Grade
5. Display All Students
6. Display Size
7. Clear Database
8. Exit
Enter your choice: 1
Enter student ID: 101
Enter student grade: 88.5
Student with ID 101 and grade 88.5 inserted.

🔧 Technologies Used



  • C++ (Standard Template Library - STL)

  • unordered_map (for fast data access)

📂 File Structure



/StudentDatabase
│── student_db.cpp # Main source code file
│── README.md # Documentation file

🛠 Future Enhancements



  • 🚀 Add file handling to store data permanently.

  • 🚀 Implement sorting for student records.

  • 🚀 Add GPA calculation based on multiple subjects.

📜 License


This project is open-source. Feel free to use, modify, and contribute!

💡 Conclusion


This system provides an efficient and interactive way to manage student records in C++ using unordered_map for fast operations like insertion, search, and deletion. Ideal for small-scale educational applications.