# zabflavor/cpp-python-journey architecture

> Architecture diagram of the GitHub repository zabflavor/cpp-python-journey, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/zabflavor/cpp-python-journey
- Repository: https://github.com/zabflavor/cpp-python-journey

## Overview

This repository is a personal C++ and Python learning journal, not an integrated application. Its principal workflow is the learner studying a topic, writing a standalone daily exercise, and recording the code; the exercises do not form a shared runtime pipeline. The map groups representative lessons by learning stage and language. Connections between individual files are omitted because the sampled sources show independent programs, not calls between them.

Main entry points: [`day04/算术运算符.cpp`](https://github.com/zabflavor/cpp-python-journey/blob/main/day04/%E7%AE%97%E6%9C%AF%E8%BF%90%E7%AE%97%E7%AC%A6.cpp) (Types and Operators), [`day09/变量和简单数据类型.py`](https://github.com/zabflavor/cpp-python-journey/blob/main/day09/%E5%8F%98%E9%87%8F%E5%92%8C%E7%AE%80%E5%8D%95%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B.py) (Variables and Types)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_cpp_basics["C++ Foundations"]
  node_cpp_types["Types and Operators<br/>[算术运算符.cpp]"]
  node_cpp_conditions["Conditional Logic<br/>[if语句.cpp]"]
  node_cpp_loops["Loops and Control<br/>[break语句.cpp]"]
end

subgraph group_cpp_practice["C++ Problem Practice"]
  node_cpp_arrays["Arrays<br/>[二维数组定义方式.cpp]"]
  node_cpp_algorithms["Algorithms<br/>[欢乐的跳.cpp]"]
  node_cpp_primes["Prime Search<br/>[质数口袋.cpp]"]
end

subgraph group_python_practice["Python Practice"]
  node_py_variables["Variables and Types<br/>[变量和简单数据类型.py]"]
  node_py_conditions["Conditionals<br/>[if语句.py]"]
  node_py_lists["Lists<br/>[列表简介.py]"]
  node_py_dictionaries["Dictionaries<br/>[字典.py]"]
  node_py_input_loops["Input and Loops<br/>[用户输入和while循环2.py]"]
  node_py_recursion["Recursion<br/>[汉诺塔.py]"]
end

subgraph group_cpp_abstraction["C++ Abstraction"]
  node_cpp_structs["Student Records<br/>[学生成绩管理.cpp]"]
  node_cpp_functions["Functions<br/>[函数的定义与调用.cpp]"]
  node_cpp_overloads["Overloading<br/>[函数重载.cpp]"]
end

node_learner(("Learner"))

node_learner -->|"studies exercises"| node_cpp_types
node_learner -->|"studies exercises"| node_py_variables

click node_cpp_types "https://github.com/zabflavor/cpp-python-journey/blob/main/day04/%E7%AE%97%E6%9C%AF%E8%BF%90%E7%AE%97%E7%AC%A6.cpp"
click node_cpp_conditions "https://github.com/zabflavor/cpp-python-journey/blob/main/day05/if%E8%AF%AD%E5%8F%A5.cpp"
click node_cpp_loops "https://github.com/zabflavor/cpp-python-journey/blob/main/day09/break%E8%AF%AD%E5%8F%A5.cpp"
click node_cpp_arrays "https://github.com/zabflavor/cpp-python-journey/blob/main/day16/%E4%BA%8C%E7%BB%B4%E6%95%B0%E7%BB%84%E5%AE%9A%E4%B9%89%E6%96%B9%E5%BC%8F.cpp"
click node_cpp_algorithms "https://github.com/zabflavor/cpp-python-journey/blob/main/day20/%E6%AC%A2%E4%B9%90%E7%9A%84%E8%B7%B3.cpp"
click node_cpp_primes "https://github.com/zabflavor/cpp-python-journey/blob/main/day11/%E8%B4%A8%E6%95%B0%E5%8F%A3%E8%A2%8B.cpp"
click node_cpp_structs "https://github.com/zabflavor/cpp-python-journey/blob/main/day27/%E5%AD%A6%E7%94%9F%E6%88%90%E7%BB%A9%E7%AE%A1%E7%90%86.cpp"
click node_cpp_functions "https://github.com/zabflavor/cpp-python-journey/blob/main/day14/%E5%87%BD%E6%95%B0%E7%9A%84%E5%AE%9A%E4%B9%89%E4%B8%8E%E8%B0%83%E7%94%A8.cpp"
click node_cpp_overloads "https://github.com/zabflavor/cpp-python-journey/blob/main/day23/%E5%87%BD%E6%95%B0%E9%87%8D%E8%BD%BD.cpp"
click node_py_variables "https://github.com/zabflavor/cpp-python-journey/blob/main/day09/%E5%8F%98%E9%87%8F%E5%92%8C%E7%AE%80%E5%8D%95%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B.py"
click node_py_conditions "https://github.com/zabflavor/cpp-python-journey/blob/main/day13/if%E8%AF%AD%E5%8F%A5.py"
click node_py_lists "https://github.com/zabflavor/cpp-python-journey/blob/main/day12/%E5%88%97%E8%A1%A8%E7%AE%80%E4%BB%8B.py"
click node_py_dictionaries "https://github.com/zabflavor/cpp-python-journey/blob/main/day18/%E5%AD%97%E5%85%B8.py"
click node_py_input_loops "https://github.com/zabflavor/cpp-python-journey/blob/main/day25/%E7%94%A8%E6%88%B7%E8%BE%93%E5%85%A5%E5%92%8Cwhile%E5%BE%AA%E7%8E%AF2.py"
click node_py_recursion "https://github.com/zabflavor/cpp-python-journey/blob/main/day26/%E6%B1%89%E8%AF%BA%E5%A1%94.py"

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_cpp_types,node_cpp_conditions,node_cpp_loops toneBlue
class node_cpp_arrays,node_cpp_algorithms,node_cpp_primes toneAmber
class node_py_variables,node_py_conditions,node_py_lists,node_py_dictionaries,node_py_input_loops,node_py_recursion toneMint
class node_cpp_structs,node_cpp_functions,node_cpp_overloads toneRose
class node_learner toneIndigo
```

## Components

### C++ Foundations

- [Types and Operators](https://github.com/zabflavor/cpp-python-journey/blob/main/day04/%E7%AE%97%E6%9C%AF%E8%BF%90%E7%AE%97%E7%AC%A6.cpp): `day04/算术运算符.cpp`
- [Conditional Logic](https://github.com/zabflavor/cpp-python-journey/blob/main/day05/if%E8%AF%AD%E5%8F%A5.cpp): `day05/if语句.cpp`
- [Loops and Control](https://github.com/zabflavor/cpp-python-journey/blob/main/day09/break%E8%AF%AD%E5%8F%A5.cpp): `day09/break语句.cpp`

### C++ Problem Practice

- [Arrays](https://github.com/zabflavor/cpp-python-journey/blob/main/day16/%E4%BA%8C%E7%BB%B4%E6%95%B0%E7%BB%84%E5%AE%9A%E4%B9%89%E6%96%B9%E5%BC%8F.cpp): `day16/二维数组定义方式.cpp`
- [Algorithms](https://github.com/zabflavor/cpp-python-journey/blob/main/day20/%E6%AC%A2%E4%B9%90%E7%9A%84%E8%B7%B3.cpp): `day20/欢乐的跳.cpp`
- [Prime Search](https://github.com/zabflavor/cpp-python-journey/blob/main/day11/%E8%B4%A8%E6%95%B0%E5%8F%A3%E8%A2%8B.cpp): `day11/质数口袋.cpp`

### Python Practice

- [Variables and Types](https://github.com/zabflavor/cpp-python-journey/blob/main/day09/%E5%8F%98%E9%87%8F%E5%92%8C%E7%AE%80%E5%8D%95%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B.py): `day09/变量和简单数据类型.py`
- [Conditionals](https://github.com/zabflavor/cpp-python-journey/blob/main/day13/if%E8%AF%AD%E5%8F%A5.py): `day13/if语句.py`
- [Lists](https://github.com/zabflavor/cpp-python-journey/blob/main/day12/%E5%88%97%E8%A1%A8%E7%AE%80%E4%BB%8B.py): `day12/列表简介.py`
- [Dictionaries](https://github.com/zabflavor/cpp-python-journey/blob/main/day18/%E5%AD%97%E5%85%B8.py): `day18/字典.py`
- [Input and Loops](https://github.com/zabflavor/cpp-python-journey/blob/main/day25/%E7%94%A8%E6%88%B7%E8%BE%93%E5%85%A5%E5%92%8Cwhile%E5%BE%AA%E7%8E%AF2.py): `day25/用户输入和while循环2.py`
- [Recursion](https://github.com/zabflavor/cpp-python-journey/blob/main/day26/%E6%B1%89%E8%AF%BA%E5%A1%94.py): `day26/汉诺塔.py`

### C++ Abstraction

- [Student Records](https://github.com/zabflavor/cpp-python-journey/blob/main/day27/%E5%AD%A6%E7%94%9F%E6%88%90%E7%BB%A9%E7%AE%A1%E7%90%86.cpp): `day27/学生成绩管理.cpp`
- [Functions](https://github.com/zabflavor/cpp-python-journey/blob/main/day14/%E5%87%BD%E6%95%B0%E7%9A%84%E5%AE%9A%E4%B9%89%E4%B8%8E%E8%B0%83%E7%94%A8.cpp): `day14/函数的定义与调用.cpp`
- [Overloading](https://github.com/zabflavor/cpp-python-journey/blob/main/day23/%E5%87%BD%E6%95%B0%E9%87%8D%E8%BD%BD.cpp): `day23/函数重载.cpp`

### Other components

- **Learner**

## Connections

- Learner → Types and Operators: studies exercises (evidence: `README.md`)
- Learner → Variables and Types: studies exercises (evidence: `README.md`)
