Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » I/O Redirection
I/O Redirection [message #45494] Wed, 16 October 2002 22:44 Go to next message
Eclipse UserFriend
Originally posted by: hongming.cs.utexas.edu

When debugging C/C++ in Eclipse, how do I use I/O redirection?

I tried to specify redirection, such as "> stdout.txt", in the C/C++
Program Arguments field of the Launch Configurations dialog box, but it
didn't work. Please help! Thanks.

Yeh Hong-ming
Department of Computer Science
The University of Texas at Austin
Re: I/O Redirection [message #45554 is a reply to message #45494] Thu, 17 October 2002 09:31 Go to previous message
Eclipse UserFriend
I think your way will not working. As I understood when you specify
application name and its arguments in order to Eclipse could launch your
program platform simply call CreateProcess(when using Windows for
example). And if you try to use directly CreateProcess I'm afraid that you
will have no result too.
Probably if you make a.bat where i/o will redirect and launch by
CreateProcess everything will work fine.

If so you may try do something like that in CDT or may be it is a new CDT
feature and you may ask for it to developers :)


Igor S. Zamyatin,

Interstron Ltd


Yeh Hong-ming wrote:

> When debugging C/C++ in Eclipse, how do I use I/O redirection?

> I tried to specify redirection, such as "> stdout.txt", in the C/C++
> Program Arguments field of the Launch Configurations dialog box, but it
> didn't work. Please help! Thanks.

> Yeh Hong-ming
> Department of Computer Science
> The University of Texas at Austin
Previous Topic:NTVDM error
Next Topic:Feature windows system...
Goto Forum:
  


Current Time: Thu May 08 03:18:47 EDT 2025

Powered by FUDForum. Page generated in 0.26479 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top