正在加载图片...
★被包含文件内容 file3. c 令源文件(*.C file2.c 宏定义 ☆头文件(*h) filel.c 数据结构定义 A 函数说明等 ★文件包含可嵌套 # include“fle2c”# include“file3.c” C fle3应出现在 A B fle2之前 file3.c filel.c file2.c 也可以在fe中用两个 includ命令分另苞含le2和file3: #include "file3. h #include "file2.h"被包含文件内容 ❖源文件(*.c) ❖头文件(*.h) 宏定义 数据结构定义 函数说明等 文件包含可嵌套 #include “file2.c” file1.c A file3.c C #include “file3.c” file2.c B file1.c A file3.c file2.c 也可以在file1中用两个include命令分别包含file2和file3: #include "file3.h" #include "file2.h" file3应出现在 file2之前
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有