在线笔记
全部博文(596)
分类: C/C++
2013-02-20 17:07:00
#define NONE #define ZERO 0 #define ONE 1 #define TWO 2 void marcon_test() { #ifdef NONE printf("none\n"); #endif #ifdef ZERO printf("zero\n"); #endif #if ZERO printf("zero\n"); #elif TWO printf("two\n"); #elif ONE printf("one\n"); #endif }