码迷,mamicode.com
首页 > 其他好文 > 详细

#ifdef预编译相关用法

时间:2014-12-31 20:02:38      阅读:145      评论:0      收藏:0      [点我收藏+]

标签:

#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结束

#ifdef预编译相关用法

标签:

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!