Mercurial > projects > ldc
view tango/example/console/buffered.d @ 341:1bb99290e03a trunk
[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author | lindquist |
---|---|
date | Sun, 13 Jul 2008 02:51:19 +0200 |
parents | 1700239cab2e |
children |
line wrap: on
line source
private import tango.stdc.stdio; private import tango.io.Console; /******************************************************************************* Demonstrates buffered output. Console output (and Stdout etc) is buffered, requiring a flush or newline to render on the console. *******************************************************************************/ void main (char[][] args) { Cout ("how now "); printf ("printf\n"); Cout ("brown cow").newline; }