Netbeans中的C ++控制台输出 [英] C++ console output in Netbeans

查看:1059
本文介绍了Netbeans中的C ++控制台输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Mac上使用 cout printf 语句在Netbeans中运行C ++程序时,在使用X11打开的终端。有Netbeans内置的控制台吗?

When I run a C++ program in Netbeans on a Mac that has cout or printf statements the output is displayed in a terminal opened using X11. Is there a console built into Netbeans? If yes, how do I change the output to it?

感谢您,
Spencer

Thanks, Spencer

推荐答案

在项目属性 - >运行 - >控制台类型下,您可以选择输出窗口而不是外部终端。

Under Project Properties -> Run -> Console Type you can choose "Output Window" instead of External Terminal.

这篇关于Netbeans中的C ++控制台输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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