Programing Puzzles

Lutger lutger.blijdestijn at gmail.com
Wed Aug 6 15:27:13 PDT 2008


Wyverex wrote:
 
> Problem #1********************************************
> import tango.io.Stdout;
> 
> void main()
> {
>    if(Stdout("Hello World")) {}
> }

this works, no semicolon needed with phobos:

void main()
{
    if( printf("Hello World"), true )
    {
    }
}


More information about the Digitalmars-d-learn mailing list