【问题标题】:CodeBlocks not running codeCodeBlocks 不运行代码
【发布时间】:2016-10-11 17:06:24
【问题描述】:

我试图在代码块中运行代码,但每次我尝试构建和运行它时,程序底部都会显示以下消息

-------------- Build: Debug in will it work (compiler: GNU GCC Compiler)---------------

g++ -Wall -fexceptions -g  -c "/home/TwTOoth/Documents/will it work/main.cpp" -o obj/Debug/main.o
g++  -o "bin/Debug/will it work" obj/Debug/main.o   
Output file is bin/Debug/will it work with size 28.28 KB
Process terminated with status 0 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))

这里似乎有什么问题?

【问题讨论】:

    标签: codeblocks


    【解决方案1】:

    根据您的构建日志消息,您的构建在这里看起来不错。

    如果不是这样的话,你会在正文末尾有这样的信息:

    进程以状态 1 终止(0 分 0 秒)

    2 个错误,1 个警告(0 分 0 秒)

    所以如果你的构建很好,也许这是你的“运行”不好(或者为你的实现中的输出完成的内容)。您是否尝试过先“构建”然后“运行”而不是“构建并运行”?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-09-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多