摘要: Definition: The #define Directive You can use the #define directive to give a meaningful name to a constant in your program. The two forms of the synt 阅读全文
posted @ 2016-05-22 21:42 张飞online 阅读(544) 评论(0) 推荐(0) 编辑
摘要: 一般情况下,源程序中所有的行都参加编译。但是有时希望对其中一部分内容只在满足一定条件才进行编译,也就是对一部分内容指定编译的条件,这就是“条件编译”。有时,希望当满足某条件时对一组语句进行编译,而当条件不满足时则编译另一组语句。 今天看到了 #define后面只跟一个“参数” 定义宏,并在预处理过程 阅读全文
posted @ 2016-05-22 21:33 张飞online 阅读(3029) 评论(0) 推荐(0) 编辑