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

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日