writef vs writeln and printing to the console

Andrej Mitrovic none at none.none
Sat Jan 8 14:28:30 PST 2011


Unfortunately I can't provide a simple test case, but I have a case where using:

writef("..........\n");

inside a loop that runs a dozen times does not print out each line as the statement is reached, instead it prints out everything at once when the application is done. If I use this:

writeln(".........");

then I get each line printed out at the exact moment as this statement is reached. Is this normal behavior? 


More information about the Digitalmars-d-learn mailing list