Input from a newbie

Jonas jonas at lophus.org
Mon Apr 9 08:19:18 PDT 2012


On Saturday, 7 April 2012 at 22:42:19 UTC, Stefan wrote:
> printf is a C function which expects 0-terminated strings. D's
> strings are variable-length arrays and not zero-terminated.
>
> Don't use printf. Try using writef instead. Same arguments.

http://d.puremagic.com/issues/show_bug.cgi?id=7872



More information about the Digitalmars-d-learn mailing list