writef vs writeln and printing to the console
Andrej Mitrovic
andrej.mitrovich at gmail.com
Sun Jan 9 04:52:16 PST 2011
On 1/9/11, Christopher Nicholson-Sauls <ibisbasenji at gmail.com> wrote:
> What Jesse said, but also: I can't help wondering if there's a special
> reason why you cannot (or would rather not) use writefln(".....")?
>
Oh it's not a problem. I was converting some C code and it used
printf's with embedded newlines in the string. So I converted these to
the safer writefln, but I got a different behavior when I compiled
compared to the C version.
More information about the Digitalmars-d-learn
mailing list