Posted by Drew on November 27, 2001 at 03:19:49:
In Reply to: redirection of output posted by Matthew Ferguson on November 26, 2001 at 16:35:26:
All redirection does is it send STDOUT to a file... something that is very common in DOS and Unix. It requires no special programming techniques. Just send everything to STDOUT using cout.
: I'm a little confused, or unfamiliar, with this... other than the command line arguments, is there any extra code needed to handle the possible redirection of the output? or does the executer no what to do with the extra " > output.txt" tacked on the end of the normal arguments.
Post a Followup