How maaz-319/sms works
Project Type and Purpose
• This is a C++ console-based School Management System. It’s a full-application (not web-based) with a menu-driven UI, object-oriented domain model (Person → Student/Teacher/Staff), file-based persistence, and an integrated test suite.
File Structure Analysis
• Top-level directories:
• / → All header files (Person, Student, Teacher, Staff, Database_handler, Utility)
• src/ → Implementation (.cpp) including main.cpp
• data/ → Runtime flat-file storage (students.txt, teachers.txt, staff.txt)
• build/ → Compiled executables and test scripts
• tests/ → UnitTest.cpp, IntegrationTest.cpp + README
• docs/ → API, UserManual, DeveloperGuide
• Key configuration/build triggers:
• build scripts (.bat), g++ compile commands in README
• Architectural hints:
• Abstract base class (Person) with derived types
• Database_handler for file I/O
• Utility module for console formatting
• main.cpp orchestrates UI and leverages Database_handler
README Insights
• Emphasizes OOP principles, polymorphism, inheritance, dynamic memory, file I/O
• Unified ID system across all Person types
• Six core use-cases exposed via menu
• Testing via UnitTest.exe and IntegrationTest.exe