Window creation, for phobos?

Kapps via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 29 07:47:50 PST 2015


On Thursday, 29 January 2015 at 14:45:19 UTC, Adam D. Ruppe wrote:
> Is writeln even platform agnostic? I've used targets where it 
> doesn't do anything.... including Microsoft Windows with the 
> gui subsystem.

Sure it does, it's just that by default the stdio handles are 
closed. You can still run your program with MyGuiProgram.exe > 
output.txt, or open them in your program.

I would consider writeln platform agnostic, it's just that it may 
not always be a console that it writes to.


More information about the Digitalmars-d mailing list