为什么我的代码块只显示输出少于第二秒的时间? [英] Why does my Codeblock only display output for less than second..?

查看:57
本文介绍了为什么我的代码块只显示输出少于第二秒的时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一周前安装了Codeblock,但尚未更改任何设置。我创建了一个简单的控制台应用程序,当我单击build并运行它时,它的输出显示了毫秒,然后消失了……它一直存在直到我退出它为止。有人知道为什么会这样吗?在构建日志选项卡中,它说进程以状态0(0分钟,0秒,0秒)终止

I installed Codeblock a week ago and have not changed any setting. I created a simple console application and when I clicked build and run it display my output for like milisecond and disappear... It used to stay forever until I exit it. Anyone know why is this happening? In the Build log tab it says "Process terminated with status 0 (0minnutes, 0 seconds)

推荐答案

错误:


要使控制台不消失的所有操作是:

for those who may encounter this error:

all you need to do to make the console not dissapear is this:


  • 转到项目属性。

  • 单击构建目标

  • 控制台应用程序下方有一个选项执行结束时暂停

  • 检查它,您就很好了!

  • go to project properties.
  • click on build targets
  • there is an option below console application "pause when execution ends"
  • check it and you are good to go!

希望这会有所帮助

这篇关于为什么我的代码块只显示输出少于第二秒的时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆