照着课本上输入的简单程序出错误
程序是#include<stdio.h>
int max(int x,int y)
{
int z;
if(x>y)z=x;
else z=y;
return(z);
}
现实报错是
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/zx45.exe : fatal error LNK1120: 1 unresolved externals