view tango/example/console/buffered.d @ 143:336ec4f4bbb3 trunk

[svn r147] tango.io.Console is now working. True this time :) Yay!
author lindquist
date Fri, 25 Jan 2008 01:42:36 +0100
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;
}