摘要: #if 要求判断条件为常量表达式,不得包含变量。且返回值为整数。 与 #else #elif #endif 使用。 和 if else 的用法类似。 例如: 1 #include <stdio.h> 2 3 #define M 100 4 5 int main(){ 6 7 #if M==100 8 阅读全文
posted @ 2020-01-28 20:07 Arrokoth 阅读(612) 评论(0) 推荐(0) 编辑