How do I flush the output of write?

Steven Schveighoffer schveiguy at yahoo.com
Wed Apr 13 11:23:43 PDT 2011


On Wed, 13 Apr 2011 14:00:04 -0400, Andrej Mitrovic <none at none.none> wrote:

> Calling write doesn't automatically flush the output to the screen. Is  
> there a function I could call to do it manually? writeln doesn't suffer  
> from this problem.

stdout.flush();

-Steve


More information about the Digitalmars-d-learn mailing list