root/trunk/hello.d

Revision 5, 226 bytes (checked in by aliloko, 8 months ago)

First commit

  • Property svn:executable set to *
Line 
1 int main(char[][] args)
2 {
3     printf("hello world\n");
4     printf("args.length = %d\n", args.length);
5     for (int i = 0; i < args.length; i++)
6     printf("args[%d] = '%s'\n", i, cast(char *)args[i]);
7     return 0;
8 }
Note: See TracBrowser for help on using the browser.