# README

> 最近该电子书正在大规模重写中。

[![知识共享许可协议](https://i.creativecommons.org/l/by-sa/4.0/88x31.png)](http://creativecommons.org/licenses/by-sa/4.0/)本作品采用[知识共享署名-相同方式共享 4.0 国际许可协议](http://creativecommons.org/licenses/by-sa/4.0/)进行许可。

* [序](/cppworld/first.md)

### 第一弹 · 新的征程

**第一章 · 初来乍到**

* [第一节 · 刷新认知 · 编写第一道程序](/cppworld/di-yi-tan-xin-de-zheng-cheng/1-1.md)
* [第二节 · 欲工必先求利器 · 编程环境配置](/cppworld/di-yi-tan-xin-de-zheng-cheng/1-1/1-2.md)
* [第三节 · 本源之论 · 基础计算机知识扫盲](/cppworld/di-yi-tan-xin-de-zheng-cheng/1-1/1-3.md)
* [第四节 · 篮子与瓶子 · 初识类型](/cppworld/di-yi-tan-xin-de-zheng-cheng/1-1/1-4.md)
* [第五节 · 思维的体操 · 初识控制流](/cppworld/di-yi-tan-xin-de-zheng-cheng/1-1/1-5.md)

**第一弹 · 第二章 · 数据鉴解**

* [第一节 · 常态 · 基本内置类型与变量](/cppworld/di-yi-tan-xin-de-zheng-cheng/2-1.md)
* [第二节 · 融合态 · 复合类型](/cppworld/di-yi-tan-xin-de-zheng-cheng/2-1/2-2.md)
* [第三节 · 固化态 · 常量限定符](/cppworld/di-yi-tan-xin-de-zheng-cheng/2-1/2-3.md)
* [第四节 · 拟态 · 自动推断类型](/cppworld/di-yi-tan-xin-de-zheng-cheng/2-1/2-4.md)
* [第五节 · 叠加态 · 自定义数据结构](/cppworld/di-yi-tan-xin-de-zheng-cheng/2-1/2-5.md)

**第一弹 · 第三章 · 计算术**

* [第一节 · 简单的数学课 · 初识表达式](/cppworld/di-yi-tan-xin-de-zheng-cheng/3-1.md)
* [第二节 · 数字间的反应 · 初识运算符](/cppworld/di-yi-tan-xin-de-zheng-cheng/3-1/3-2.md)
* [第三节 · 传送带 · 赋值操作](/cppworld/di-yi-tan-xin-de-zheng-cheng/3-1/3-3.md)
* [第四节 · 转换状态 · 类型转换](/cppworld/di-yi-tan-xin-de-zheng-cheng/3-1/3-4.md)
* [第五节 · 剥皮的技巧 · 数组与成员访问](/cppworld/di-yi-tan-xin-de-zheng-cheng/3-1/3-5.md)

**第四章 · 逻辑风暴**

* [第一节 · 包裹中的包裹 · 语句与作用域](/cppworld/di-yi-tan-xin-de-zheng-cheng/4-1.md)
* [第二节 · 对数据提问 · 条件语句](/cppworld/di-yi-tan-xin-de-zheng-cheng/4-1/4-2.md)
* [第三节 · 对重复操作的化简 · 迭代语句](/cppworld/di-yi-tan-xin-de-zheng-cheng/4-1/4-3.md)
* [第四节 · 跃迁到圈外 · 跳转语句](/cppworld/di-yi-tan-xin-de-zheng-cheng/4-1/4-4.md)
* [第五节 · 缓兵之计 · 异常处理语句](/cppworld/di-yi-tan-xin-de-zheng-cheng/4-1/4-5.md)

**第五章 · 函数探幽**

* [第一节 · 化繁为简 · 函数声明与使用](/cppworld/di-yi-tan-xin-de-zheng-cheng/5-1.md)
* [第二节 · 以不变应万变 · 深入参数与返回值](/cppworld/di-yi-tan-xin-de-zheng-cheng/5-1/5-2.md)
* [第三节 · 总指挥中心 · 主函数](/cppworld/di-yi-tan-xin-de-zheng-cheng/5-1/5-3.md)
* [第四节 · 分身术 · 函数重载](/cppworld/di-yi-tan-xin-de-zheng-cheng/5-1/5-4.md)
* [第五节 · 自助服务 · 默认实参与函数指针](/cppworld/di-yi-tan-xin-de-zheng-cheng/5-1/5-5.md)

**第六章 · 标准库**

* [第一节 · 军械库 · 初识标准库](/cppworld/di-yi-tan-xin-de-zheng-cheng/6-1.md)
* [第二节 · 可供理解的数据 · 字符串库](/cppworld/di-yi-tan-xin-de-zheng-cheng/6-1/6-2.md)
* [第三节 · 无限车厢 · 向量库](/cppworld/di-yi-tan-xin-de-zheng-cheng/6-1/6-3.md)
* [第四节 · 游走于每一处 · 迭代器](/cppworld/di-yi-tan-xin-de-zheng-cheng/6-1/6-4.md)
* [第五节 · 瓶子与漏水防护 · 数组库与再探原生数组](/cppworld/di-yi-tan-xin-de-zheng-cheng/6-1/6-5.md)

**第七章 · 类之传奇**

* [第一节 · 系统的构造 · 类的定义与封装](/cppworld/di-yi-tan-xin-de-zheng-cheng/7-1.md)
* [第二节 · 高级容器 · 类类型](/cppworld/di-yi-tan-xin-de-zheng-cheng/7-1/7-2.md)
* [第三节 · 询问自己 · this指针](/cppworld/di-yi-tan-xin-de-zheng-cheng/7-1/7-3.md)
* [第四节 · 公共场所 · 类作用域与静态成员](/cppworld/di-yi-tan-xin-de-zheng-cheng/7-1/7-4.md)
* [第五节 · 亮相前的准备 · 类的构造函数](/cppworld/di-yi-tan-xin-de-zheng-cheng/7-1/7-5.md)

### 第二弹 · 技术革命

**第八章 · 常规武器**

* [第一节 · 取之不竭 · 顺序容器](/cppworld/di-er-tan-ji-shu-ge-ming/8-1.md)
* [第二节 · 一一对应 · 关联容器](/cppworld/di-er-tan-ji-shu-ge-ming/8-1/8-2.md)
* [第三节 · 瑞士军刀 · 泛型算法](/cppworld/di-er-tan-ji-shu-ge-ming/8-1/8-3.md)
* [第四节 · 摄取与排放数据 · 文件输入输出](/cppworld/di-er-tan-ji-shu-ge-ming/8-1/8-4.md)
* [第五节 · 电报机 · 字符串流](/cppworld/di-er-tan-ji-shu-ge-ming/8-1/8-5.md)

**第九章 · 掌控之力**

* [第一节 · 无中生有 · 初识动态内存](/cppworld/di-er-tan-ji-shu-ge-ming/9-1.md)
* [第二节 · 封印符文 · 智能指针](/cppworld/di-er-tan-ji-shu-ge-ming/9-1/9-2.md)
* [第三节 · 瓶子工厂 · 动态数组](/cppworld/di-er-tan-ji-shu-ge-ming/9-1/9-3.md)
* [第四节 · 意念造山河 · lambda表达式](/cppworld/di-er-tan-ji-shu-ge-ming/9-1/9-4.md)
* [第五节 · 瞬移术 · 右值引用与对象移动](/cppworld/di-er-tan-ji-shu-ge-ming/9-1/9-5.md)

**第十章 · 运算工具**

* [第一节 · 机械臂的自我修养 · 初识重载运算符](/cppworld/di-er-tan-ji-shu-ge-ming/10-1.md)
* [第二节 · 换一种走路的方式 · 递增递减运算符定义](/cppworld/di-er-tan-ji-shu-ge-ming/10-1/10-2.md)
* [第三节 · 换一种交流的方式 · 成员访问运算符定义](/cppworld/di-er-tan-ji-shu-ge-ming/10-1/10-3.md)
* [第四节 · 换一种干活的方式 · 函数调用运算符定义](/cppworld/di-er-tan-ji-shu-ge-ming/10-1/10-4.md)
* [第五节 · 换一种变脸的方式 · 类型转换运算符定义](/cppworld/di-er-tan-ji-shu-ge-ming/10-1/10-5.md)

**第十一章 · 构造世界**

* [第一节 · 从原子到宇宙 · 面向对象概述](/cppworld/di-er-tan-ji-shu-ge-ming/11-1.md)
* [第二节 · 宗族的继承 · 基类与派生类](/cppworld/di-er-tan-ji-shu-ge-ming/11-1/11-2.md)
* [第三节 · 进化论 · 虚函数与抽象基类](/cppworld/di-er-tan-ji-shu-ge-ming/11-1/11-3.md)
* [第四节 · 遗产分配 · 访问控制与派生类作用域](/cppworld/di-er-tan-ji-shu-ge-ming/11-1/11-4.md)
* [第五节 · 偷懒的诀窍 · 合成函数与虚析构](/cppworld/di-er-tan-ji-shu-ge-ming/11-1/11-5.md)

**第十二章 · 模板蓝图**

* [第一节 · 绘制蓝图 · 初试定义模板](/cppworld/di-er-tan-ji-shu-ge-ming/12-1.md)
* [第二节 · 容器类型的传递 · 转发模板](/cppworld/di-er-tan-ji-shu-ge-ming/12-1/12-2.md)
* [第三节 · 原地不动 · 深入理解移动操作](/cppworld/di-er-tan-ji-shu-ge-ming/12-1/12-3.md)
* [第四节 · 无限剑制 · 可变参数模板](/cppworld/di-er-tan-ji-shu-ge-ming/12-1/12-4.md)
* [第五节 · 特殊人格 · 模板特例化](/cppworld/di-er-tan-ji-shu-ge-ming/12-1/12-5.md)

**第十三章 · 特种部队**

* [第一节 · 匹配想法 · 正则表达式](/cppworld/di-er-tan-ji-shu-ge-ming/13-1.md)
* [第二节 · 铁索连环 · 变长元组tuple](/cppworld/di-er-tan-ji-shu-ge-ming/13-1/13-2.md)
* [第三节 · 逻辑的空间 · 定长状态表bitset](/cppworld/di-er-tan-ji-shu-ge-ming/13-1/13-3.md)
* [第四节 · 不可知的未来 · 随机数](/cppworld/di-er-tan-ji-shu-ge-ming/13-1/13-4.md)
* [第五节 · 有条不紊 · 格式化输入输出](/cppworld/di-er-tan-ji-shu-ge-ming/13-1/13-5.md)

**第十四章 · 统筹总领**

* [第一节 · 划分领地 · 命名空间](/cppworld/di-er-tan-ji-shu-ge-ming/14-1.md)
* [第二节 · 安全部门 · 异常处理库](/cppworld/di-er-tan-ji-shu-ge-ming/14-1/14-2.md)
* [第三节 · 摆脱单亲状态 · 多重继承与虚继承](/cppworld/di-er-tan-ji-shu-ge-ming/14-1/14-3.md)
* [第四节 · 小别致 · 枚举与联合类](/cppworld/di-er-tan-ji-shu-ge-ming/14-1/14-4.md)
* [第五节 · 俄罗斯套娃 · 局部类与嵌套类](/cppworld/di-er-tan-ji-shu-ge-ming/14-1/14-5.md)

### 番外篇 · 语林外史

* [这片土地的旧时光 · 详解 C++98 与新版 C++ 的不同](/cppworld/fan-wai-pian-yu-lin-wai-shi/1.md)
* [与硬件背靠背 · C++、C语言与汇编的协同](/cppworld/fan-wai-pian-yu-lin-wai-shi/2.md)
* [同时进行的任务 · 并行与并发库](/cppworld/fan-wai-pian-yu-lin-wai-shi/3.md)
* [启动《Minecraft》 · 系统调用库](/cppworld/fan-wai-pian-yu-lin-wai-shi/4.md)
* [地心探索 · 内存分配控制](/cppworld/fan-wai-pian-yu-lin-wai-shi/5.md)
* [类型身份证 · RTTI](/cppworld/fan-wai-pian-yu-lin-wai-shi/6.md)
* [牛奶还是奶牛 · 位域与字节序](/cppworld/fan-wai-pian-yu-lin-wai-shi/7.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://langyo-v2.gitbook.io/cppworld/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
