#ifdef DEBUG //如果DEBUG被定义了,则执行 printf(",we get:%c",c); #endif printf("\n");
#ifndef DEBUG //如果DEBUG没被定义,则执行 printf(",we get:%c",c); #endif printf("\n"); }
//#ifdefined等价于#ifdef; //#if!defined等价于#ifndef
#ifdef DEBUG //如果DEBUG被定义了,则执行 printf(",we get:%c",c); #endif printf("\n");
#ifndef DEBUG //如果DEBUG没被定义,则执行 printf(",we get:%c",c); #endif printf("\n"); }
//#ifdefined等价于#ifdef; //#if!defined等价于#ifndef