Mercurial > projects > ldc
view test/mainargs1.d @ 163:a8cd9bc1021a trunk
[svn r179] lots and lots of fixes, much more of tango now compiles/works.
author | lindquist |
---|---|
date | Mon, 05 May 2008 07:36:29 +0200 |
parents | 44a95ac7368a |
children | d9d5d59873d8 |
line wrap: on
line source
module mainargs1; extern(C) int printf(char*,...); void main(string[] args) { foreach(v; args) { printf("%.*s\n", v.length, v.ptr); } }