From d543ff7f6c155952cb50c2bd1589546265004b3a Mon Sep 17 00:00:00 2001 From: mszulecki Date: Thu, 22 Feb 2007 03:09:19 +0000 Subject: Fix config.d.in types and use it in the helloworld application. git-svn-id: http://svn.sukimashita.com/repos/dskel/trunk@11 4281df72-ff29-0410-8fee-2d9ac0c5f5a7 --- src/helloworld.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/helloworld.d b/src/helloworld.d index df15b0b..e1113cc 100755 --- a/src/helloworld.d +++ b/src/helloworld.d @@ -1,8 +1,9 @@ +import config; import std.stdio; void main(char[][] args) { - writefln("Hello World, Reloaded"); + writefln("Hello World, Version: " ~ config.VERSION); // auto type inference and built-in foreach foreach (argc, argv; args) -- cgit v1.1-32-gdbae