How ozkanyildizz/student-manager-app works
Project type and purpose
• This is a simple, single‐executable console application written in C++.
• Its purpose is to manage an in‐memory list of students: add, delete, list, and update grades via a menu‐driven interface.
File structure
• Top level:
• Student Manager App.sln – Visual Studio solution
• Student Manager App (folder) – contains the entire code base
• Inside “Student Manager App”:
• Student Manager App.cpp – single source file with all logic
• Project and filter files (.vcxproj, .vcxproj.filters)
• There are no separate directories for UI, business logic, or data storage; all code lives in one .cpp
README for additional insights
• Dynamic memory is used to store student records
• Menu‐driven console UI
• Core operations: Add, Delete, List, Update
a. Main components
• Console UI / Menu Layer
• Student Manager (Controller/Service)
• Student Repository (in‐memory data store)
• Student Entity (struct/class)
b. Relationships and interactions
• User → Console UI: selects options
• Console UI → Student Manager: invokes add/delete/list/update
• Student Manager ↔ Student Repository: reads/writes dynamic array or vector
• Student Repository ↔ Student Entity: allocates, deallocates, and returns records
• Student Manager → Console UI: returns operation results (success, list data)
c. Architectural patterns or design principles
• Separation of concerns: isolate UI logic from data handling
• Single Responsibility: Student Entity holds data, Repository manages storage, Manager implements operations
• Use of dynamic memory (or a std::vector) for storage
d. Technologies / libraries
• C++ standard library for I/O (iostream) and dynamic memory
• Optional: std::vector or raw pointers/new/delete for storage