m0_62136685 2021-11-24 21:07 采纳率: 33.3%
浏览 183
已结题

dev c++ 里运行程序为什么会出现这样啊,昨天还好好的

D:\LenovoSoftstore\Install\DevC\MinGW64\x86_64-w64-mingw32\include\stdio.h In file included from D:/LenovoSoftstore/Install/DevC/MinGW64/x86_64-w64-mingw32/include/stdio.h
2 5 D:\c exercise\bian_liang_jiao_huan.cpp [Error] redefinition of 'int main()'
5 20 D:\c exercise\bian_liang_jiao_huan.cpp [Error] 'scanf' was not declared in this scope
2 5 D:\LenovoSoftstore\Install\DevC\MinGW64\x86_64-w64-mingw32\include\stdio.h [Note] 'int main()' previously defined here
12 20 D:\c exercise\bian_liang_jiao_huan.cpp [Error] 'printf' was not declared in this sc

img

试哪一个代码结果都是不行,一直在报错

  • 写回答

3条回答 默认 最新

  • CSDN专家-sinJack 2021-11-24 21:08
    关注

    其他编辑器试过没,代码发一下。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

问题事件

  • 系统已结题 12月2日
  • 已采纳回答 11月24日
  • 创建了问题 11月24日

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器