摘要: Code:#ifdef __cplusplusextern "C" { #endif ... #ifdef __cplusplus} #endif 解释:1.c++中定义了__cplusplus,C语言中没有该定义。即:识别是c代码还是c++代码。 如下段代码: #include <stdio.h> 阅读全文
posted @ 2016-08-31 11:15 WFApple 阅读(6361) 评论(1) 推荐(2) 编辑