In this tutorial, I will be introducing you to a language called D. We will be creating a simple program that outputs “Hello World” on the screen.
First, you should download D here: http://dlang.org/download.html
Then, install the software. Installation is very easy because all you need to do is read and follow the directions.
After installation, create a new folder in My Documents named tutorials.
While inside the tutorials folder, create a new text document and rename it output.d.
Open the file with your favorite text editor (I love to use Notepad++).
Type the codes same as below:
Open your command prompt.
Next, change your directory using the cd command.
type dmd then the name of your file
type the name of the exe file that was generated.
our output should be the same as below:
Thank you for reading this post.
Don’t forget to leave a comment.