Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ console output in 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?

Thanks, Spencer

like image 866
Spencer Avatar asked May 19 '10 06:05

Spencer


People also ask

Can t see the output in NetBeans?

Go to Window option> Click on output. Clicking Ctrl + 4. Right click on the bottom right corner of NetBeans and Click on Show Output.


1 Answers

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

like image 199
Daniele Santi Avatar answered Oct 07 '22 09:10

Daniele Santi