There is not std.stdio.flush

Haruki Shigemori rayerd.wiz at gmail.com
Mon Jul 20 08:01:33 PDT 2009


Jarrett Billingsley wrote:
> 2009/7/20 Haruki Shigemori <rayerd.wiz at gmail.com>:
>> Hi.
>>
>> The std.cstream.dout has a member function dout.flush.
>> But the std.stdio has not a function flush or a similar function.
>> Why? Don't you want to have it?
>> Give me the std.stdio.flush!
> 
> You don't need it.  Just import std.c.stdio and fflush(stdout).

uhmm...
I think std.c.stdio is a port of the C language library,
std.stdio must has flush or fflush as the D language library.


More information about the Digitalmars-d-learn mailing list