小白一个 想问下 这哪里错误了?
int max(int a,int b);main()
{
int x,y,z;
int max(int a,int b);
printf("input two number:\n");
scanf("%d%d",&x,&y);
z=max(x,y);
prinff("maxmum=%d",z);
}
int max(int a,int b)
{
if(a>b)return a;else return b;
}
显示这个
--------------------Configuration: houhouhou - Win32 Debug--------------------
Linking...
houhouhou.obj : error LNK2001: unresolved external symbol _prinff
Debug/houhouhou.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错.
houhouhou.exe - 1 error(s), 0 warning(s)