开发者

C++ console output in Netbeans

开发者 https://www.devze.com 2022-12-30 15:14 出处:网络
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

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?

Thanks, Spencer


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

0

精彩评论

暂无评论...
验证码 换一张
取 消