# weikezi-ai/cnote architecture

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

- Interactive diagram: https://gitdiagram.com/weikezi-ai/cnote
- Repository: https://github.com/weikezi-ai/cnote

## Overview

CNote is a Chinese-language C programming tutorial, not an executable software product. Its principal learner workflow is to use the README’s curriculum to study foundational concepts, proceed through introductory programming topics, and then explore advanced topics such as data structures, memory, and files. The README also documents online reading, a downloadable PDF, and a companion video course as learning formats. The graph reflects those documented curriculum branches; no source excerpts were provided, so it does not infer implementation-level relationships.

Main entry points: [`README.md`](https://github.com/weikezi-ai/cnote/blob/main/README.md) (Curriculum Index), [`notes/基础/1.计算机常识.md`](https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%9F%BA%E7%A1%80/1.%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%B8%B8%E8%AF%86.md) (Computer Basics), [`notes/基础/5.什么是C语言.md`](https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%9F%BA%E7%A1%80/5.%E4%BB%80%E4%B9%88%E6%98%AFC%E8%AF%AD%E8%A8%80.md) (C Language Basics), [`notes/基础/25.C语言数据类型.md`](https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%9F%BA%E7%A1%80/25.C%E8%AF%AD%E8%A8%80%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B.md) (Types and Variables)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundation["Foundations"]
  node_readme["Curriculum Index<br/>[README.md]"]
  node_computer["Computer Basics<br/>[1.计算机常识.md]"]
  node_language["C Language Basics<br/>[5.什么是C语言.md]"]
  node_types["Types and Variables<br/>[25.C语言数据类型.md]"]
  node_io["Console Input Output<br/>[28.printf函数.md]"]
end

subgraph group_intro["Introductory C"]
  node_flow["Control Flow<br/>[1.流程控制基本概念.md]"]
  node_functions["Functions<br/>[7.函数那点事.md]"]
  node_arrays["Arrays<br/>[17.数组那点事.md]"]
end

subgraph group_advanced["Advanced C"]
  node_algorithms["Algorithms<br/>[1.计数排序.md]"]
  node_strings["Strings<br/>[12.字符串的基本概念.md]"]
  node_pointers["Pointers<br/>[15.指针的基本概念.md]"]
  node_structures["Structures<br/>[22.结构体详解.md]"]
  node_memory["Memory Management<br/>[40.内存管理.md]"]
  node_files["File Operations<br/>[49.文件基本概念.md]"]
end

subgraph group_formats["Learning Formats"]
  node_video["Video Course<br/>[README.md]"]
  node_pdf["PDF Edition<br/>[README.md]"]
  node_online["Online Reading<br/>[README.md]"]
end

node_learner(("Learner"))

node_learner -->|"opens index"| node_readme
node_readme -->|"links lessons"| node_computer
node_readme -->|"links lessons"| node_language
node_readme -->|"links lessons"| node_types
node_readme -->|"links lessons"| node_io
node_readme -->|"links lessons"| node_flow
node_readme -->|"links lessons"| node_functions
node_readme -->|"links lessons"| node_arrays
node_readme -->|"links lessons"| node_algorithms
node_readme -->|"links lessons"| node_strings
node_readme -->|"links lessons"| node_pointers
node_readme -->|"links lessons"| node_structures
node_readme -->|"links lessons"| node_memory
node_readme -->|"links lessons"| node_files
node_learner -.->|"studies with"| node_video
node_learner -.->|"studies with"| node_pdf
node_learner -.->|"reads online"| node_online

click node_readme "https://github.com/weikezi-ai/cnote/blob/main/README.md"
click node_computer "https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%9F%BA%E7%A1%80/1.%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%B8%B8%E8%AF%86.md"
click node_language "https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%9F%BA%E7%A1%80/5.%E4%BB%80%E4%B9%88%E6%98%AFC%E8%AF%AD%E8%A8%80.md"
click node_types "https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%9F%BA%E7%A1%80/25.C%E8%AF%AD%E8%A8%80%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B.md"
click node_io "https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%9F%BA%E7%A1%80/28.printf%E5%87%BD%E6%95%B0.md"
click node_flow "https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%85%A5%E9%97%A8/1.%E6%B5%81%E7%A8%8B%E6%8E%A7%E5%88%B6%E5%9F%BA%E6%9C%AC%E6%A6%82%E5%BF%B5.md"
click node_functions "https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%85%A5%E9%97%A8/7.%E5%87%BD%E6%95%B0%E9%82%A3%E7%82%B9%E4%BA%8B.md"
click node_arrays "https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%85%A5%E9%97%A8/17.%E6%95%B0%E7%BB%84%E9%82%A3%E7%82%B9%E4%BA%8B.md"
click node_algorithms "https://github.com/weikezi-ai/cnote/blob/main/notes/%E8%BF%9B%E9%98%B6/1.%E8%AE%A1%E6%95%B0%E6%8E%92%E5%BA%8F.md"
click node_strings "https://github.com/weikezi-ai/cnote/blob/main/notes/%E8%BF%9B%E9%98%B6/12.%E5%AD%97%E7%AC%A6%E4%B8%B2%E7%9A%84%E5%9F%BA%E6%9C%AC%E6%A6%82%E5%BF%B5.md"
click node_pointers "https://github.com/weikezi-ai/cnote/blob/main/notes/%E8%BF%9B%E9%98%B6/15.%E6%8C%87%E9%92%88%E7%9A%84%E5%9F%BA%E6%9C%AC%E6%A6%82%E5%BF%B5.md"
click node_structures "https://github.com/weikezi-ai/cnote/blob/main/notes/%E8%BF%9B%E9%98%B6/22.%E7%BB%93%E6%9E%84%E4%BD%93%E8%AF%A6%E8%A7%A3.md"
click node_memory "https://github.com/weikezi-ai/cnote/blob/main/notes/%E8%BF%9B%E9%98%B6/40.%E5%86%85%E5%AD%98%E7%AE%A1%E7%90%86.md"
click node_files "https://github.com/weikezi-ai/cnote/blob/main/notes/%E8%BF%9B%E9%98%B6/49.%E6%96%87%E4%BB%B6%E5%9F%BA%E6%9C%AC%E6%A6%82%E5%BF%B5.md"
click node_video "https://github.com/weikezi-ai/cnote/blob/main/README.md"
click node_pdf "https://github.com/weikezi-ai/cnote/blob/main/README.md"
click node_online "https://github.com/weikezi-ai/cnote/blob/main/README.md"

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_readme,node_computer,node_language,node_types,node_io toneBlue
class node_flow,node_functions,node_arrays toneAmber
class node_algorithms,node_strings,node_pointers,node_structures,node_memory,node_files toneMint
class node_video,node_pdf,node_online toneRose
class node_learner toneIndigo
```

## Components

### Foundations

- [Curriculum Index](https://github.com/weikezi-ai/cnote/blob/main/README.md): `README.md`
- [Computer Basics](https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%9F%BA%E7%A1%80/1.%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%B8%B8%E8%AF%86.md): `notes/基础/1.计算机常识.md`
- [C Language Basics](https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%9F%BA%E7%A1%80/5.%E4%BB%80%E4%B9%88%E6%98%AFC%E8%AF%AD%E8%A8%80.md): `notes/基础/5.什么是C语言.md`
- [Types and Variables](https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%9F%BA%E7%A1%80/25.C%E8%AF%AD%E8%A8%80%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B.md): `notes/基础/25.C语言数据类型.md`
- [Console Input Output](https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%9F%BA%E7%A1%80/28.printf%E5%87%BD%E6%95%B0.md): `notes/基础/28.printf函数.md`

### Introductory C

- [Control Flow](https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%85%A5%E9%97%A8/1.%E6%B5%81%E7%A8%8B%E6%8E%A7%E5%88%B6%E5%9F%BA%E6%9C%AC%E6%A6%82%E5%BF%B5.md): `notes/入门/1.流程控制基本概念.md`
- [Functions](https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%85%A5%E9%97%A8/7.%E5%87%BD%E6%95%B0%E9%82%A3%E7%82%B9%E4%BA%8B.md): `notes/入门/7.函数那点事.md`
- [Arrays](https://github.com/weikezi-ai/cnote/blob/main/notes/%E5%85%A5%E9%97%A8/17.%E6%95%B0%E7%BB%84%E9%82%A3%E7%82%B9%E4%BA%8B.md): `notes/入门/17.数组那点事.md`

### Advanced C

- [Algorithms](https://github.com/weikezi-ai/cnote/blob/main/notes/%E8%BF%9B%E9%98%B6/1.%E8%AE%A1%E6%95%B0%E6%8E%92%E5%BA%8F.md): `notes/进阶/1.计数排序.md`
- [Strings](https://github.com/weikezi-ai/cnote/blob/main/notes/%E8%BF%9B%E9%98%B6/12.%E5%AD%97%E7%AC%A6%E4%B8%B2%E7%9A%84%E5%9F%BA%E6%9C%AC%E6%A6%82%E5%BF%B5.md): `notes/进阶/12.字符串的基本概念.md`
- [Pointers](https://github.com/weikezi-ai/cnote/blob/main/notes/%E8%BF%9B%E9%98%B6/15.%E6%8C%87%E9%92%88%E7%9A%84%E5%9F%BA%E6%9C%AC%E6%A6%82%E5%BF%B5.md): `notes/进阶/15.指针的基本概念.md`
- [Structures](https://github.com/weikezi-ai/cnote/blob/main/notes/%E8%BF%9B%E9%98%B6/22.%E7%BB%93%E6%9E%84%E4%BD%93%E8%AF%A6%E8%A7%A3.md): `notes/进阶/22.结构体详解.md`
- [Memory Management](https://github.com/weikezi-ai/cnote/blob/main/notes/%E8%BF%9B%E9%98%B6/40.%E5%86%85%E5%AD%98%E7%AE%A1%E7%90%86.md): `notes/进阶/40.内存管理.md`
- [File Operations](https://github.com/weikezi-ai/cnote/blob/main/notes/%E8%BF%9B%E9%98%B6/49.%E6%96%87%E4%BB%B6%E5%9F%BA%E6%9C%AC%E6%A6%82%E5%BF%B5.md): `notes/进阶/49.文件基本概念.md`

### Learning Formats

- [Video Course](https://github.com/weikezi-ai/cnote/blob/main/README.md): `README.md`
- [PDF Edition](https://github.com/weikezi-ai/cnote/blob/main/README.md): `README.md`
- [Online Reading](https://github.com/weikezi-ai/cnote/blob/main/README.md): `README.md`

### Other components

- **Learner**

## Connections

- Learner → Curriculum Index: opens index
- Curriculum Index → Computer Basics: links lessons
- Curriculum Index → C Language Basics: links lessons
- Curriculum Index → Types and Variables: links lessons
- Curriculum Index → Console Input Output: links lessons
- Curriculum Index → Control Flow: links lessons
- Curriculum Index → Functions: links lessons
- Curriculum Index → Arrays: links lessons
- Curriculum Index → Algorithms: links lessons
- Curriculum Index → Strings: links lessons
- Curriculum Index → Pointers: links lessons
- Curriculum Index → Structures: links lessons
- Curriculum Index → Memory Management: links lessons
- Curriculum Index → File Operations: links lessons
- Learner → Video Course: studies with
- Learner → PDF Edition: studies with
- Learner → Online Reading: reads online
