Title | main.cpp file for project |
---|---|
Course | Programming |
Institution | جامعة عين شمس |
Pages | 25 |
File Size | 1.5 MB |
File Type | |
Total Downloads | 27 |
Total Views | 160 |
main.cpp file for project...
This report contains: • Screenshots of the program while running • Flowcharts of the main function as well as other functions which were implemented for this project • The main menu of the program has a sleek, user friendly design • There are 9 options the user can choose from, and if the user wants to exit, just press q or Q. • Features: o Display a student’s data & grades o Edit a student’s data or grades o Add new students or delete existing ones o Display subjects statistics o Export new files containing: • Data • Grades • Normalized grades • Grades converted to symbols • Overall GPA • The source code of the program is separated to several files which contain: o Student class declaration “Student.h” o Student class implementation “Student.cpp” o Functions declarations “Functions.h” o Functions implementations “Functions.cpp” o Main function “main.cpp” • The program features and guarantees an input protected database, which means that the program doesn’t accept wrong input or datatype o It doesn’t accept a subject grade that is more than 100 or less than 0 o It doesn’t accept an age that is more than 50 or less than 15 o It doesn’t accept gender input unless it is M for male or F for female o Even in the main menu, it doesn’t accept input other than 0-9 or Q
Screenshots of the program while running:
Demonstration of Input protection features:
If the user tried to do any operations without importing the students data and grades first or adding students manually using option ‘5’, the program refuses to take any order. i.e.: You cannot give orders if the database is empty.
Main Function...