How do I flush the output of write?

Steven Schveighoffer schveiguy at yahoo.com
Wed Apr 13 12:59:21 PDT 2011


On Wed, 13 Apr 2011 15:41:07 -0400, Andrej Mitrovic  
<andrej.mitrovich at gmail.com> wrote:

> I kept trying to do flush(stdout), but I had the syntax wrong I guess. :)

fflush(stdout) is the way to do it in C, so that's probably where you got  
it from.

in D, stdout is actually a File struct, which contains a flush method.

-Steve


More information about the Digitalmars-d-learn mailing list