[ create a new paste ] login | about

Link: http://codepad.org/MdLVQEMm    [ raw code | output | fork ]

D, pasted on Jul 8:
1
2
3
4
5
6
7
8
9
10
/* This program prints a
   hello world message
   to the console.  */

import std.stdio;

void main()
{
    writeln("Hello, World!");
}


Output:
1
2
Line 9: Error: undefined identifier writeln
Line 9: Error: function expected before (), not writeln of type int


Create a new paste based on this one


Comments: