试过加了extern "C"之后又报错语法错误:"字符串",这个要怎么解决
在扩展名为.C的源文件中使用”extern "C"“会引发错误解决办法是移除 extern "C",或者改成
#ifdef __cplusplus extern "C" #endif