协调哪里错了啊

我新手,谁能告诉我我哪里错了啊 - -_百度知道
我新手,谁能告诉我我哪里错了啊 - -
#include&iostream&
void main()
cout&&&请输入年份:&&&&\n&;
cout&&&year=&;
while(year%4==0)
if(year%100!==0);
cout&&year&&&年是闰年&;
if (year%400==0)
cout&&year&...
我有更好的答案
#include&iostream&void main(){cout&&&请输入年份:&&&&\n&;cout&&&year=&;cin&&if(year%4==0){ if(year%400==0) {
cout&&year&&&shi run nian&; } if(year%100!=0) {
cout&&year&&&shi run nian&; }}else
cout&&year&&&shi ping nian&;}
45.obj : error LNK2005: _main already defined in 123.objLIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16Debug/44.exe : fatal error LNK1120: 1 unresolved externalsError executing link.exe.仍然有这样的错误 - -
我在我电脑上运行对了啊
难道我电脑有问题了?能给我下你的QQ不,聊一下
采纳率:34%
#include&iostream&void main(){
cout&&&请输入年份:&&&&\n&; cout&&&year=&; cin&& while(year%4==0) {
if(year%100!=0)/////多一个等号,多了一个分号;
cout&&year&&&年是闰年&;
if (year%400==0)
cout&&year&&&年是闰年&;
cout&&&请输入年份:&&&&\n&;
cout&&&year=&;
} cout&&year&&&年是平年&;}
Linking...LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16Debug/5.exe : fatal error LNK1120: 1 unresolved externalsError executing link.exe.我那样改过,可是提示有错误啊
为您推荐:
其他类似问题
您可能关注的内容
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。哪里错了啊?_百度知道
哪里错了啊?
#include &stdio.h&
int main()
int a,b,c;
printf(&欢迎使用计算器!\n&);
prinrf(&----------------\n&);
printf(&请输入第一个数字后按下回车键!\n&);
secef(&%d&,&a);
printf(&请输入第二个数字后按下回车键!\n&);
我有更好的答案
scanf不是secef,第三条语句printf拼写错误,c不能同时用于四个不同的运算结果
采纳率:42%
为您推荐:
其他类似问题
您可能关注的内容
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。哪里错了啊?_百度知道
哪里错了啊?
我有更好的答案
为您推荐:
其他类似问题
您可能关注的内容
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。求助啊,这是哪里错了【arduino吧】_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:56,291贴子:
求助啊,这是哪里错了收藏
做led闪烁,按照教程来的,用的教程程序,哪里错了?为什么上传失败啊Arduino:1.8.1 (Windows 10), 开发板:&Arduino/Genuino Uno&项目使用了 940 字节,占用了 (2%) 程序存储空间。最大为 32256 字节。全局变量使用了9字节,(0%)的动态内存,余留2039字节局部变量。最大为2048字节。avrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xc4avrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xc4avrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xc4avrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xc4avrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xc4avrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xc4avrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xc4avrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xc4avrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xc4avrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xc4上传出错。查看 获取建议。在文件 -& 首选项开启“编译过程中显示详细输出”选项这份报告会包含更多信息。
觉得应该是usb驱动或者板子的问题。或者端口没有选择正确
需要在工具菜单进行板和端口的设置
arduino版本问题
端口/波特率或开发板选错了
上传的时候端口不插线试试
这个是设置错误吧,或者驱动问题?
登录百度帐号

我要回帖

更多关于 倚窗府瞰哪里错了 的文章

 

随机推荐