紫色代表一级目录
粉红代表二级目录
蓝色代表三级目录
红色代表关键字
橙色代表说明
c 头文件
头文件是扩展名为 .h 的文件,包含了 C 函数声明和宏定义,被多个源文件中引用共享。有两种类型的头文件:程序员编写的头文件和编译器自带的头文件。
格式:
#include <file_name>
#include “file_name”
只能引用一次头文件
#ifndef HEADER_FILE
#define HEADER_FILE
the entire header file file
#endif //用于避免多次引用头文件。
也可以用 if 语句来表示有条件的引用。