Netbeans IDE 8.0.2 C++ Input/Output Error

前端 未结 1 1112
你的背包
你的背包 2021-02-18 18:23

I installed netbeans C++ on windows 7 and used Cywgin4 as the compiler. When I run any program even a simple Hello world it does compile and run however I also get the error bel

1条回答
  •  灰色年华
    2021-02-18 18:44

    I do not understand all the surrounding details of this problem as I am new to C/C++. However, if you:

    • Open up NetBeans
    • Right click on your C++ project file
    • Select "Properties"
    • There should be a category called "Run".

    Under this category, find the option called Console Type and make sure that Standard Output is selected as shown in the screenshot below:

    I was having the same problems when the console type was selected as Internal Terminal.

    For my setup, changing this option to Standard Output got rid of this error. However, I do not fully understand how this change affects the overall properties of my project. Wish you good luck.

    0 讨论(0)
提交回复
热议问题