#ifdef预编译相关用法

时间:2014-12-31 19:59:28   收藏:0   阅读:364

#ifdef预编译相关用法主要有:
(1)#ifdef XXX
executing the corresponding xxx code
#endif
(2)#ifdef XXX
executing the corresponding xxx code
#else
executing the other code
(3)#ifdef XXX
executing the corresponding xxx code
#elifdef YYY
executing the corresponding yyy code
#else
executing the other code
#endif
注意最后要使用#endif结束

原文:http://www.cnblogs.com/gjianw217/p/4196368.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!