A simple C++ console-based Student Management System using File Handling and STL Student Management System (C++)
π Project Overview
This project is a console-based Student Management System developed in C++. It allows users to manage student records efficiently using a menu-driven interface.
The program stores student data in a text file, ensuring that records persist even after the program is closed.
Features
- Add a new student
- Display all students
- Search student by ID
- Update student details
- Delete student record
- Sort students by ID
- Prevent duplicate student IDs
- Save and load data using file handling
Technologies Used
- C++ Programming Language
- Standard Template Library (STL)
- "vector"
- "algorithm"
- File Handling
- "ifstream"
- "ofstream"
- String Handling
- "getline"
- "stringstream"
Project Structure
student-management-system β βββ student.cpp # Main program βββ students.txt # Data file (created automatically) βββ README.md
How to Compile and Run
Compile
g++ student.cpp -o student
Run
./student
Concepts Demonstrated
- Structures in C++
- Vectors (Dynamic arrays)
- File handling
- CRUD operations
- Sorting using STL
- Menu-driven programming
Learning Outcome
This project demonstrates how to build a basic database-style application in C++ using file storage and STL containers. It helps understand how real-world applications manage and store structured data.
Author
Developed by Sri Divya Harshini