# xieshie/enrollment-system architecture

> Architecture diagram of the GitHub repository xieshie/enrollment-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/xieshie/enrollment-system
- Repository: https://github.com/xieshie/enrollment-system

## Overview

A procedural C++ console app guides a student through course and year-level enrollment, collects student details and subject choices, assesses fees, and displays registration information. The README describes a single main() function with goto-driven menus and global, fixed-size student arrays. The source excerpt is partial, so the map shows documented capabilities without inferring their internal wiring beyond the visible flow.

Main entry points: [`Enrollment-System.cpp`](https://github.com/xieshie/enrollment-system/blob/main/Enrollment-System.cpp) (Console program)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_enrollment["Enrollment"]
  node_app["Console program"]
  node_menus["Enrollment menus"]
  node_studentdata["Student records"]
  node_subjects["Subject selection"]
end

subgraph group_billing["Billing and output"]
  node_fees["Fee assessment"]
  node_form["Registration display"]
end

node_student(("Student"))

node_student -->|"uses"| node_app
node_app -->|"displays"| node_menus
node_menus -->|"collects details"| node_studentdata
node_menus -->|"selects subjects"| node_subjects
node_app -->|"assesses fees"| node_fees
node_app -->|"displays form"| node_form

click node_app "https://github.com/xieshie/enrollment-system/blob/main/Enrollment-System.cpp"
click node_menus "https://github.com/xieshie/enrollment-system/blob/main/Enrollment-System.cpp"
click node_studentdata "https://github.com/xieshie/enrollment-system/blob/main/Enrollment-System.cpp"
click node_subjects "https://github.com/xieshie/enrollment-system/blob/main/Enrollment-System.cpp"
click node_fees "https://github.com/xieshie/enrollment-system/blob/main/Enrollment-System.cpp"
click node_form "https://github.com/xieshie/enrollment-system/blob/main/Enrollment-System.cpp"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_menus,node_studentdata,node_subjects toneBlue
class node_fees,node_form toneAmber
class node_student toneIndigo
```

## Components

### Enrollment

- [Console program](https://github.com/xieshie/enrollment-system/blob/main/Enrollment-System.cpp): `Enrollment-System.cpp`
- [Enrollment menus](https://github.com/xieshie/enrollment-system/blob/main/Enrollment-System.cpp): `Enrollment-System.cpp`
- [Student records](https://github.com/xieshie/enrollment-system/blob/main/Enrollment-System.cpp): `Enrollment-System.cpp`
- [Subject selection](https://github.com/xieshie/enrollment-system/blob/main/Enrollment-System.cpp): `Enrollment-System.cpp`

### Billing and output

- [Fee assessment](https://github.com/xieshie/enrollment-system/blob/main/Enrollment-System.cpp): `Enrollment-System.cpp`
- [Registration display](https://github.com/xieshie/enrollment-system/blob/main/Enrollment-System.cpp): `Enrollment-System.cpp`

### Other components

- **Student**

## Connections

- Student → Console program: uses
- Console program → Enrollment menus: displays
- Enrollment menus → Student records: collects details
- Enrollment menus → Subject selection: selects subjects
- Console program → Fee assessment: assesses fees
- Console program → Registration display: displays form
