flush and stdout

Jarrett Billingsley kb3ctd2 at yahoo.com
Wed May 17 10:23:41 PDT 2006


"Tom" <Tom_member at pathlink.com> wrote in message 
news:e4fj4n$4m7$1 at digitaldaemon.com...
> Is there an alternative to:
>
> fflush(std.stdio.stdout);

Try:

import std.cstream;

...

dout.writefln("Hello");
dout.flush();


dout is a wrapper around stdout using a type of D Stream. 





More information about the Digitalmars-d mailing list