12

Problems compiling Hello World program in D

view full story
linux-howto

http://ubuntuforums.org – Code: import std.stdio; main() {     writeln("Hello, world!\n");     exit (0); } This is the error I get : Code: clscr.d:3: function declaration without return type. (Note that constructors are always named 'this') clscr.d:3: no identifier for declarator main() Thank you in advance! (Hardware)