• 不能调试的时候,修改下列地方:

1、在“工具”-》编译选项-》”Add following commands when calling complier”下面的编辑框里写入:-g3 
2、在下面的”Add these following commands when calling linker” 的编辑框里写入:-g3 
3、转到programs页,把gcc行修改为:gcc.exe -D__DEBUG__ 
4、把g++行修改为g++.exe -D__DEBUG__ ,点击ok。

  • Dev-c++ 遇到endl无法单步运行(next line)
05-28 18:11