在C++中调用C语言中的函数

main.cpp #include <iostream> #include"test.h" using namespace std; //在C++中想调用C中的函数 //extern "C" void show(); //一个一个函数调用的方法 int main() { show(); return 0; } test.h #ifndef TEST_H_INCLUDED #defin
相关文章
相关标签/搜索