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.🚀
- Host: GitHub
- URL: https://github.com/mehedi-86/social-media-management
- Owner: Mehedi-86
- Created: 2023-10-03T16:25:18.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-06T00:37:49.000Z (8 months ago)
- Last Synced: 2025-03-06T01:30:19.107Z (8 months ago)
- Topics: social-media-analysis, social-media-app, social-media-management
- Language: C++
- Homepage: https://sproutsocial.com/insights/social-media-management/
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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++)
- Open a terminal or command prompt.
- Navigate to the folder where the file is saved.
- Compile the program using:
g++ -o student_db student_db.cpp
- 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.