摘要: 一般我们打开一个C写的库,比如cJSON.h这个文件: #ifndef cJSON__h #define cJSON__h #ifdef __cplusplus extern "C" { #endif C声明部分XXXXXXXXXXXXXXXX #ifdef __cplusplus } #endif 阅读全文
posted @ 2020-12-01 15:36 liuw_flexi 阅读(326) 评论(0) 推荐(0) 编辑
摘要: code: #include <iostream> int main(int argc, const char * argv[]) { // insert code here... std::cout << "Hello, World!\n"; int age = 10; const int *p0 阅读全文
posted @ 2020-12-01 15:21 liuw_flexi 阅读(72) 评论(0) 推荐(0) 编辑