https://github.com/gobikrishnanpro/studentrecordsystem
This is a command-line application built in C++ to manage student records. It allows users to perform CRUD operations (Create, Read, Update, Delete) on student data, including student ID, name, and marks. The program uses object-oriented programming (OOP) principles and file handling to persist data across sessions.
https://github.com/gobikrishnanpro/studentrecordsystem
cpp
Last synced: about 1 month ago
JSON representation
This is a command-line application built in C++ to manage student records. It allows users to perform CRUD operations (Create, Read, Update, Delete) on student data, including student ID, name, and marks. The program uses object-oriented programming (OOP) principles and file handling to persist data across sessions.
- Host: GitHub
- URL: https://github.com/gobikrishnanpro/studentrecordsystem
- Owner: Gobikrishnanpro
- Created: 2025-03-07T06:21:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-07T07:10:32.000Z (over 1 year ago)
- Last Synced: 2025-03-07T07:29:53.602Z (over 1 year ago)
- Topics: cpp
- Language: C++
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Student Record System
## Description
This is a command-line application built in C++ to manage student records. It allows users to perform CRUD operations (Create, Read, Update, Delete) on student data, including student ID, name, and marks. The program uses object-oriented programming (OOP) principles and file handling to persist data across sessions.
## Features
- Add a new student with ID, name, and marks.
- Display all student records.
- Update an existing student's name and marks by ID.
- Delete a student record by ID.
- Data is stored in a text file (`students.txt`) for persistence.
## Technologies Used
- **C++**: Core programming language with OOP concepts (classes, objects).
- **File Handling**: Standard C++ libraries (`fstream`) for reading/writing to files.
- **STL**: Utilizes `vector` for dynamic storage of student records.
## How to Run
1. **Prerequisites**: A C++ compiler (e.g., g++, MinGW, or any IDE like Code::Blocks).
2. **Clone the Repository**:
```bash
git clone https://github.com/Gobikrishnanpro/StudentRecordSystem.git
cd StudentRecordSystem
g++ StudentRecordSystem.cpp -o sr
./sr
## Sample Usage
1.Add: Enter 1, then input 101 John 85.5. ||
2.Display: Enter 2 to see all records. ||
3.Update: Enter 3, then 101 Jane 90.0 to update. ||
4.Delete: Enter 4, then 101 to remove.
## File Structure
StudentRecordSystem.cpp: Main source code.
students.txt: Generated file storing student data (created on first run).
## Author
Gobi Krishnan - A Java Full-Stack student exploring C++ for system programming.
License
This project is open-source and available under the MIT License.
## Output:


