我们如何看到输出? [英] how we can see the output?

查看:79
本文介绍了我们如何看到输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何看到输出?当我执行程序时,输出显示会持续几秒钟,而我看不到输出.我该怎么办?

how we can see the output? and when i execute the program the out put show for some seconds and i could not see the output. what do i do?

推荐答案

在程序末尾编写这样的语句

At the end of the program write the statement like this

getchar();







or

cin.get();



因此,在您按任意键之前,输出将显示

谢谢
SP



So until you press on any key, output will show

Thanks
SP


您可以按Ctrl+F5而不是F5来运行程序.
You can press Ctrl+F5 to run the program instead of F5.


这篇关于我们如何看到输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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