C++中使用C库函数 其他 2021-03-25 20:08 0 阅读 1. 头文件中声明 extern "C" { #include ".h" } 2. 对函数声明 extern "C" { int s(void); int a(void); } 猜你喜欢