大侠些,请你们帮我看看这段代码错那了,谢谢,我是菜鸟
#include<stdio.h>void main()
{
int a=10,b=20,t=0;
int *pa=&a,*pb=&b;
printf("a=%db=%d",a,b);
printf("\n");
t=*pa;
*pa=*pb;
*pb=t;
print("a=%db=%d",a,b);
printf("\n");
}
--------------------Configuration: zhizhen - Win32 Debug--------------------
Linking...
zhizhen.obj : error LNK2001: unresolved external symbol _print
Debug/zhizhen.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错.
zhizhen.exe - 1 error(s), 0 warning(s)
[ 本帖最后由 beijingbbc 于 2010-5-4 22:30 编辑 ]