Posted: Wed Mar 19, 2003 10:36 pm
Restored from previous forum. Originally posted by ajm.
Hi
Can somebody tell me how to output to stdout or stderr from a windows or console application.
I have tested printn with the following code.
if openconsole()
printn("Hello")
printn("How are you")
endif
when compiled as a console exe and run from a cmd window I get the output.
when run from within an editor to capture the output I get nothing.
I have compiled with the debugger and it seems that the openconsole fails.
Thanks
Andy
Registered PB User
Windows XP Home
Hi
Can somebody tell me how to output to stdout or stderr from a windows or console application.
I have tested printn with the following code.
if openconsole()
printn("Hello")
printn("How are you")
endif
when compiled as a console exe and run from a cmd window I get the output.
when run from within an editor to capture the output I get nothing.
I have compiled with the debugger and it seems that the openconsole fails.
Thanks
Andy
Registered PB User
Windows XP Home