C语言错误提示

C语言 码拜 8年前 (2016-04-27) 881次浏览
这是小串代码 不完整 但也没啥错误
#include”stdio.h”
int mian()
{
int n1,n2,n3;
int *p1,*p2,*p3;
printf(“Input three Integer n1,n2,n3:”);
scanf(“%d,%d,%d”,&n1,&n2,&n3);
p1=&n1;
p2=&n2;
p3=&n3;
printf(“%d,%d,%d”,n1,n2,n3);
return 0;
}
错误提示:
–Configuration: 21 – Win32 Debug–
Linking…
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/21.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错.
21.exe – 1 error(s), 0 warning(s)
问一下这是什么原因???
解决方案

20

你是不是在逗本人,你看看你的main写成什么了

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明C语言错误提示
喜欢 (0)
[1034331897@qq.com]
分享 (0)