[SDL] stdout.txt and stderr.txt
slouken at devolution.com
Sat Apr 1 09:37:30 PST 2000
> Andrew Shakinovsky wrote:
> > In Win32 it redirects the output to a file in the WinMain function. You
> > should be able to redirect it back to stdout by doing a freopen with "CON"
> > as the file eg:
> > freopen( "CON", "w", stdout );
> I'm having the same problem under winNT 4. I tried the above, but no joy
> (I also tried "CON:" because of (very) vague memories of device names :-)
> Does NT have a different name for the console ?
As far as I know you only get console output when you build a "console"
application, one that brings up a black input/output window. That's why
I redirect stdio to files.
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
More information about the SDL