Mercurial > projects > ldc
view tango/example/console/buffered.d @ 243:4d006f7b2ada trunk
[svn r260] Changed some of the LLVMDC specific code in the Tango core and did some minor cleanups.
author | lindquist |
---|---|
date | Mon, 09 Jun 2008 03:02:14 +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; }