Hello, World!

Anonymous im.anonymous at some.mail
Fri Mar 25 20:31:12 UTC 2022


On Hello, World! at some time, Anonymous wrote:
> **Input:**
> ```d
> void main()
> {
>     import std.stdio : writeln;
>     writeln("Hello, World!\n");
>     //I'm not sure if the ^^ is necessary or not
> }
> ```
>
> **Output:**
> ```
> Hello, World!
> ```
> That's it.

Maybe this could be an added example for the example box found in 
[the dlang homepage](https://dlang.org)


More information about the Digitalmars-d mailing list