Re: output?


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by William D McQuain on December 05, 2001 at 07:36:30:

In Reply to: output? posted by train on December 04, 2001 at 17:34:14:

: I redirected my output and for some reason not only do I not get the press any key to continue,

Well, yes. If you redirect output, ALL of the output that would normally go to the console window is redirected.

All you have to do is press any key (anyway) in response to the redirected message and your program will terminate.

but the actual program doesn't close on it's own, I am not in an infintie loop, because I checked and I can print out stuff right before the program is suposed to exit, I don't get the press any key to continue even when I write a simple main to just prints out numbers. Will I lose any points for this if all the correct information is in the redirected file?




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]