view tango/example/console/buffered.d @ 358:051f5b550d9c trunk

[svn r379] Fix slice assigns of the form T[] = T when T is a typedef. Fixes run/a/array_initialization_20_B, D, F, H.
author ChristianK
date Mon, 14 Jul 2008 12:39:23 +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;
}