Created
March 30, 2012 19:26
-
-
Save bithavoc/2254262 to your computer and use it in GitHub Desktop.
ThePumpkinLearningD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/rdmd | |
import std.stdio; | |
void main() { | |
writeln("Hello World!"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MacDude:hello thepumpkin$ dmd hello.d | |
MacDude:hello thepumpkin$ ls | |
hello hello.d hello.o | |
MacDude:hello thepumpkin$ ./hello | |
Hello World! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MacDude:hello thepumpkin$ ./hello.d | |
Hello World! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chmod u+x hello.d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment