Programing Puzzles
Wyverex
wyverex.cypher at gmail.com
Wed Aug 6 15:31:20 PDT 2008
Sweet! Didn't know printf was accessible without an import!
10pts!
Lutger wrote:
> 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