Teen Programmers Unite  
 

 

Return to forum top

Automatic output redirection in VC++ 6

Posted by CodeRed [send private reply] at April 04, 2002, 08:40:18 PM

You know how in dos you can say:
someProgram.exe >> output.txt
To redirect the output to a file. How do I set up VC++ 6 to do that automatically when I run my program from within the IDE?

Posted by buzgub [send private reply] at April 04, 2002, 10:27:24 PM

How about http://www.eskimo.com/~scs/C-faq/q12.33.html

Admittedly, that's probably not quite what you want, but you could use that within an argument handler, and you can put arguments in with the VC++ IDE.

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.