|
Student Management System is a console-based C++ application designed to help educational institutions or individuals manage student records efficiently. The system allows users to perform CRUD operations, calculate class averages, and persist information to a text file.
|
| Feature |
📝 Description |
| Add Student |
Add new students with ID, name, and grade |
| View All |
Display complete list in formatted table |
| Search |
Find student by ID quickly |
| Delete |
Remove student by ID safely |
| Average |
Calculate class grade average |
| Save/Load |
Persist data to students.txt file |
| Auto-save |
Automatically saves on exit |
| Validation |
Prevents duplicate IDs and invalid grades |
┌─────────────────────────────────────────────┐
│ │
│ C++11 File I/O │
│ OOP STL Vector │
│ Encapsulation Algorithms │
│ │
└─────────────────────────────────────────────┘
Click to expand
student-management/
│
├── 📄 main.cpp # Entry point
├── 📄 Student.h # Student class declaration
├── 📄 Student.cpp # Student class implementation
├── 📄 functions.h # Function declarations
├── 📄 functions.cpp # Function implementations
├── 📄 students.txt # Data storage (auto-generated)
│
├── 📄 README.md # Documentation
├── 📄 LICENSE # MIT License
└── 📄 .gitignore # Git ignore file
# Install GCC compiler (Linux/Mac)
sudo apt install g++ # Ubuntu/Debian
brew install gcc # MacOS
# Or use MinGW (Windows)
# Download from: https://www.mingw-w64.org/
Installation & Run
# 1. Clone the repository
git clone https://github.com/yourusername/student-management.git
# 2. Navigate to project directory
cd student-management
# 3. Compile
g++ -std=c++11 -o student main.cpp Student.cpp functions.cpp
# 4. Run
./student
How to Use
<div align="center">
Main Menu
╔═══════════════════════════════════════════╗
║ STUDENT MANAGEMENT SYSTEM ║
╠═══════════════════════════════════════════╣
║ 1. Add Student ║
║ 2. Display All Students ║
║ 3. Search Student ║
║ 4. Delete Student ║
║ 5. Calculate Average Grade ║
║ 6. Save to File ║
║ 7. Load from File ║
║ 0. Exit ║
╚═══════════════════════════════════════════╝
</div>
Example Usage
Choose: 1
Enter ID: 101
Enter Name: John Doe
Enter Grade (0-100): 85
Student added successfully!
Choose: 2
┌────────────┬────────────────────┬──────────┐
│ ID │ Name │ Grade │
├────────────┼────────────────────┼──────────┤
│ 101 │ John Doe │ 85.0 │
│ 102 │ Jane Smith │ 92.5 │
│ 103 │ Bob Johnson │ 78.0 │
└────────────┴────────────────────┴──────────┘
Choose: 5
Average Grade: 85.17
🤝 Contributing
We welcome contributions! Here's how:
Fork the repository
Create a feature branch (git checkout -b feature/AmazingFeature)
Commit changes (git commit -m 'Add some AmazingFeature')
Push to branch (git push origin feature/AmazingFeature)
Open a Pull Request
<div align="center">
https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge
</div>
Team
<table align="center"> <tr> <td align="center"> <img src="https://github.com/yourusername.png" width="100px" style="border-radius:50%"/> <br> <sub><b>Your Name</b></sub> <br> <sub>👨💻 Developer</sub> </td> </tr> </table>
📄 License
<div align="center">
This project is licensed under the MIT License - see the LICENSE file for details.
https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge
Free Software, Hell Yeah!
</div>
Show Your Support
If this project helped you or you liked it, please give it a star!
<div align="center">
https://img.shields.io/github/stars/jamikdev/studentsmanagingsystem?style=social
https://img.shields.io/github/forks/jamikdev/studentsmanagingsystem?style=social
https://img.shields.io/github/watchers/jamikdev/studentsmanagingsystem?style=social
</div>
Contact
<div align="center">
Email: rustamovv0222@gmail.com
GitHub: @jamikdev
LinkedIn: jamikdev
</div>
<div align="center">
Made with C++
Happy Coding!
</div>