错在那里
- C/C++ code
#include <stdio.h>mian(){ int a,b; scanf("%d%d",&a,&b); printf("a = %d,b = %d",a,b);}
还有就是如果把int改成double 或float 会怎么样
把%d改成%f有会怎么样
为什么会这样呢
[解决办法]
error LNK2019: 无法解析的外部符号 _main
主函数名字都写错了哦,自己编译看看错误提示什么
发布时间: 2012-10-24 14:15:58 作者: rapoo
错在那里
#include <stdio.h>mian(){ int a,b; scanf("%d%d",&a,&b); printf("a = %d,b = %d",a,b);}