How does buffering actually work?

Adam D. Ruppe destructionator at gmail.com
Thu Feb 28 23:13:56 UTC 2019


On Thursday, 28 February 2019 at 23:07:44 UTC, Cleverson Casarin 
Uliana wrote:
> How am I suposed to use the flush function? I've found it in 
> the std.stdio reference, buth calling it in my code gives 
> "undefined identifier", even though std.stdio is imported.


try

stdout.flush();


flush is a member function of the file object.


More information about the Digitalmars-d-learn mailing list