This is a simple student management system implemented in C++. It provides functionalities to add students, edit student information, add courses to students, calculate GPA, and print student information.
The program uses two main structures: Student
and Course
. The Student
structure represents a student with fields for name, family name, national code, GPA, course count, and an array of Course
structures. The Course
structure represents a course with fields for name, unit, score, and GPA raw score.
Allows you to add a new student to the system with the following information:
- Student Name
- Family Name
- National Code
Enables you to edit existing student information, including:
- Edit student's name
- Edit student's family name
- Add a new course for the student
- Remove a course for the student
Adds a new course for a specific student, including:
- Course Name
- Course Unit
- Course Score
Removes a course for a specific student by providing the course name.
Searches for a student by their national code and displays their information.
Displays the list of all students along with their information.
Generates a report file (Report.txt
) containing information about all students and their courses.
-
Clone the repository:
git clone https://github.com/ehsan-torabi/Manager.git cd Manager
-
Compile and run the program:
g++ Manager.cpp -o Manager ./Manager
-
Follow the on-screen instructions to use the program.
Manager.cpp
: Main source code file containing the student management system implementation.Report.txt
: The output file where student information is saved when generating a report.
This is a simple student management system and is not intended for use with large amounts of data. For larger data sets, consider using a database or a more efficient data structure.