详解宏定义(#define)(转)

(转自:https://blog.csdn.net/yanggangclcsdn/article/details/49704089) C语言中用到宏定义的地方很多,如在头文件中为了防止头文件被重复包含,则用到:   #ifndef cTest_Header_h #define cTest_Header_h //头文件内容 #endif 在我们常用的 stdio.h 头文件中也可以见到很多宏定义,
相关文章
相关标签/搜索