解決了c++中調(diào)用c語言的代碼 方法一 c++中處理 extern “C” 方法的聲明 方法二 c中處理 ifdef__cplusplus extern "C"{ c代碼或聲明 ifdef__cplusplus } #endif