https://www.jb51.cc/csharp/1193411.html
编程之家收集整理的这篇文章主要介绍了Thinking in C++ 第一卷阅读全书笔记重点总结Thinking in C++ Chapter 2Thinking in C++ Chapter 3Thinking in C++ Chapter 5Thinking in C++ Chapter 6Thinking in C++ Chapter 7Thinking in C++ Chapter 8Thinking in C++ Chapter 9Thinking in C++ Chapter 10指针数组/数组指针函数指针namesp,编程之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
本文主要是阅读Thinking in C++ 第一卷的一些笔记。主要是一些注意点
- Thinking in C++ Chapter 2
- Translator:
 
- 编译器编译程序步骤:
 
- 函数或者变量的声明与定义
 
- 连接
 
 
- Thinking in C++ Chapter 3
- 关于for循环的说明
 
- switch说明
 
- 说明符(specifier)
 
- void*指针说明
 
- 变量的有效作用域
 
- 静态(static)变量
 
- 连接(linkage种类)
 
- 预处理宏
 
- typedef语法说明
 
- enum说明:
 
 
- Thinking in C++ Chapter 5
 
- Thinking in C++ Chapter 6
 
- Thinking in C++ Chapter 7
- overload
 
- 类型安全连接(type-safe linkage)
 
- Union
 
- 默认参数使用规则:
 
- 占位符参数
 
 
- Thinking in C++ Chapter 8
- const说明
 
- const指针
 
- 赋值和类型检查
 
- 临时变量
 
- 传递和返回地址
 
- 标准参数传递
 
- 类内数据成员为const初始化
 
 
- Thinking in C++ Chapter 9
 
- Thinking in C++ Chapter 10
- static
 
- static对象
 
- others
 
- stactic/const/stctic const
 
 
- 指针数组/数组指针
 
- 函数指针
 
- namespace
- namespace
 
- 未命名的名字空间
 
- using directive& using declaration
 
 
- new/malloc/delete/free
- new/malloc
 
- delete/free
 
- 重载全局new和delete
 
- 类重载new和delete
 
- 为数组重载new和delete
 
- 定位new/delete
 
 
- 继承与组合(Inheritance&Composition)