一、头文件


1.1 Self-contained 头文件


1.2 #define 保护


#ifndef FOO_BAR_BAZ_H_
#define FOO_BAR_BAZ_H_
...
#endif // FOO_BAR_BAZ_H_

1.3 前置声明 #include


1.4 内联函数


1.5 #include 的路径及顺序