cDefaultInt

来源:互联网 发布:linux运维管理命令 编辑:程序博客网 时间:2024/06/03 18:35

。c

fun1(){return 10;} fun2(){;}

.cpp

// cDefaultInt.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"extern "C"{int fun1();int fun2();}int _tmain(int argc, _TCHAR* argv[]){printf("fun1()=%d\n",fun1());printf("fun1()=%d\n",fun2());return 0;}/*fun1()=10fun1()=-858993460请按任意键继续. . .*/


原创粉丝点击