Mercurial > projects > ldc
annotate tango/example/console/buffered.d @ 132:1700239cab2e trunk
[svn r136] MAJOR UNSTABLE UPDATE!!!
Initial commit after moving to Tango instead of Phobos.
Lots of bugfixes...
This build is not suitable for most things.
author | lindquist |
---|---|
date | Fri, 11 Jan 2008 17:57:40 +0100 |
parents | |
children |
rev | line source |
---|---|
132 | 1 private import tango.stdc.stdio; |
2 | |
3 private import tango.io.Console; | |
4 | |
5 /******************************************************************************* | |
6 | |
7 Demonstrates buffered output. Console output (and Stdout etc) is | |
8 buffered, requiring a flush or newline to render on the console. | |
9 | |
10 *******************************************************************************/ | |
11 | |
12 void main (char[][] args) | |
13 { | |
14 Cout ("how now "); | |
15 printf ("printf\n"); | |
16 Cout ("brown cow").newline; | |
17 } |