How syrianjunior/my-cpp-project works
This is a terminal-based student/session manager. The user enters through the main menu, which lists active students and dispatches to add a student, add products, end a session, or view the session log. Ending a session computes an invoice and records it; student records and ended-session logs are stored in separate text files. UI screens share console-rendering and input-validation helpers, while the student model owns time/price calculations and file persistence. The README is empty; relationships below are based on the shown source and SOURCE INDEX. Duplicate “(1)” headers are not part of the active include paths shown.
Main entry points: clsMainScreen.h Main menu · clsStudent.h Student model · clsScreen.h Screen rendering · clsListScreen.h Active list
Components 14
Application entry
- Program loop
main.cpp
Menu and screens
- Main menu
clsMainScreen.h - Add student
clsAddStudentScreen.h - Active list
clsListScreen.h - End session
clsEndStuScreen.h - Add products
clsUpdateScreen.h - Session log view
clsLogScreen.h
Session domain
- Student model
clsStudent.h - Active records
Student.txt - Session log
Log.txt
Console support
- Screen rendering
clsScreen.h - Input validation
clsInputValidate.h - String utilities
clsString.h
Other components
- Terminal user
Connections 29
- Terminal user → Program loop: uses
- Program loop → Main menu: calls
main.cpp - Main menu → Active list: displays
clsMainScreen.h - Main menu → Input validation: reads choices
clsMainScreen.h - Main menu → Add student: dispatches
clsMainScreen.h - Main menu → End session: dispatches
clsMainScreen.h - Main menu → Session log view: dispatches
clsMainScreen.h - Main menu → Add products: dispatches
clsMainScreen.h - Add student → Active list: displays
clsAddStudentScreen.h - Add student → Input validation: reads details
clsAddStudentScreen.h - Add student → Student model: creates and saves
clsAddStudentScreen.h - End session → Active list: selects from
clsEndStuScreen.h - End session → Input validation: reads confirmation
clsEndStuScreen.h - End session → Student model: deletes session
clsEndStuScreen.h - Add products → Active list: displays
clsUpdateScreen.h - Add products → Input validation: reads selection
clsUpdateScreen.h - Add products → Student model: updates and saves
clsUpdateScreen.h - Active list → Student model: loads records
clsListScreen.h - Session log view → Student model: loads log
clsLogScreen.h - Student model → Active records: reads and writes
clsStudent.h - Student model → Session log: reads and appends
clsStudent.h - Student model → String utilities: splits records
clsStudent.h - Main menu → Screen rendering: inherits rendering
clsMainScreen.h - Add student → Screen rendering: inherits rendering
clsAddStudentScreen.h - Active list → Screen rendering: inherits rendering
clsListScreen.h - End session → Screen rendering: inherits rendering
clsEndStuScreen.h - Add products → Screen rendering: inherits rendering
clsUpdateScreen.h - Session log view → Screen rendering: inherits rendering
clsLogScreen.h - Input validation → Screen rendering: uses colors
clsInputValidate.h