简体   繁体   English

如何在命令提示符下打开Eclipse控制台输出

[英]how to open eclipse console output in command prompt

I am using eclipse oxygen IDE to practice c programming. 我正在使用eclipse oxygen IDE进行c编程。 I found that eclipse console window is not functioning as I want so! 我发现Eclipse控制台窗口无法正常运行! is there any way to open the output directly in command prompt window instead of inbuilt eclipse console. 有什么方法可以直接在命令提示符窗口中而不是内置的Eclipse控制台中打开输出。

This is what I Understood from your question. 这是我从您的问题中了解的。

You want to open the output of your c program in command prompt 您想在命令提示符下打开c程序的输出

It's pretty simple. 很简单 Just go the directory in which your executable is stored and run the .exe file 只需进入可执行文件的存储目录并运行.exe文件

<path>filename.exe

If however you want to start eclipse from cmd you would have to add the bin folder to the PATH environment variable. 但是,如果要从cmd启动Eclipse,则必须将bin文件夹添加到PATH环境变量中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM