Eclipse CDT using MinGW does not output in console

来源:互联网 发布:js数组去重和排序 编辑:程序博客网 时间:2024/06/06 00:56

问题: Eclipse CDT using MinGW does not output in console

解决办法:http://stackoverflow.com/questions/3443254/eclipse-cdt-using-mingw-does-not-output-in-console

Right-click on your project. Select "Properties".

Select the "Run/Debug Settings" Property on the left of the new window.

In the right window, click on your executable to highlight (ie - Test.exe) and click "Edit".

In the Environment tab, hit "New"

Name: PATH 
Value: Path to your MinGW bin directory. (For me this was: C:\devcore\MinGW\bin

Click "OK" on all windows to close down.

Try running again, it should print output to the screen.


原创粉丝点击