我正在使用eclipse IDE。我在这里有一些基本的源代码,包括头文件。一直在使用cygwin作为C++编译器。它编译我的应用程序,它不会产生任何错误。但是我看不到IDE控制台上的输出。当我自己运行可执行文件时,它会产生输出。如何配置Eclipse IDE以将输出重定向到IDE控制台?从Eclipse IDE运行C++应用程序
这是我得到的:
15:40:11 **** Incremental Build of configuration Debug for project GetCompiled ****
make all
Building target: GetCompiled.exe
Invoking: Cygwin C++ Linker
g++ -o "GetCompiled.exe" ./Compiling.o
cygwin warning:
MS-DOS style path detected: D:\Aristotelis\C++\GetCompiled\Debug
Preferred POSIX equivalent is: /cygdrive/d/Aristotelis/C++/GetCompiled/Debug
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Finished building target: GetCompiled.exe
15:40:12 Build Finished (took 702ms)
选定的应用程序运行:
我试图通过选择作为C++应用程序运行从IDE运行的exe文件,但它确实不产生任何输出。 致以问候
有不同的控制台,检查您正在使用哪一个,并尝试其他。 – dutt