开发者

No output when running C++ applications via Eclipse CDT IDE

开发者 https://www.devze.com 2023-04-08 16:57 出处:网络
Eclipse can build my applications for me so far, and I can execute them directly (via Windows 7 Explorer), but I get no results when I use the run command via the CDT perspective. The console tab only

Eclipse can build my applications for me so far, and I can execute them directly (via Windows 7 Explorer), but I get no results when I use the run command via the CDT perspective. The console tab only tells me that the application termi开发者_StackOverflow社区nated, even with a console app with input (cin >> and so forth). Win32 apps don't execute either. Once again I can execute them directly via the debug folder, so this must be an IDE issue. Is this normal? Or are there settings I could change to make it work?

Thanks for any advice!


Solved it! It's because my workspace was in the "Program Files" directory, which has a space in it. Probably a MinGW issue.

Thanks to Keith Thompson for the help though!

0

精彩评论

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

关注公众号