How lerubz/cau_oop_project1_ works
This is a command-line student-record manager. A user selects insertion, search/listing, or sorting; the CLI validates and constructs records, while the singleton manager owns in-memory records and pipe-delimited file persistence. Searches and listings are sorted using a selectable strategy before the CLI displays results. The README is empty, so capabilities and wiring are based on the sampled source; the data file is supplied at runtime.
Main entry points: CAU_OOP_Project1.cpp Menu and handlers · StudentManager.cpp Student manager · Student.cpp Student model · file1.txt Record file
Components 6
Console interface
- Menu and handlers
CAU_OOP_Project1/CAU_OOP_Project1.cpp
Student records
- Student manager
CAU_OOP_Project1/StudentManager.cpp - Student model
CAU_OOP_Project1/Student.cpp - Record file
CAU_OOP_Project1/file1.txt
Sorting
- Sort strategies
CAU_OOP_Project1/SortStrategy.cpp
Other components
- User
Connections 9
- User → Menu and handlers: enters choices
- Menu and handlers → Student manager: initializes manager
- Student manager → Record file: loads and saves
- Menu and handlers → Student model: constructs record
- Menu and handlers → Student manager: inserts or searches
- Student manager → Student model: reads fields
- Student manager → Sort strategies: sorts results
- Menu and handlers → Student manager: sets strategy
- Menu and handlers → User: displays results