Question about threads
swiftcoder
swiftcoder at darkcoda.com
Tue Apr 17 10:49:28 PDT 2007
Ah, yes you are right, I had forgotten that. But according to the docs it should print chars as if they were integers (probably an oversight in the docs though): http://www.digitalmars.com/d/phobos/std_format.html#format-string They also don't mention any char-specific format specifier.
BCS Wrote:
> Reply to SwiftCoder,
>
> > It looks as if your format specifier is wrong, %s is used to print
> > strings, not individual chars. Use %c for that.
> >
> > Ary Manzana Wrote:
> >
>
> IIRC %s is the "whatever" format. It will print anything.
>
>
More information about the Digitalmars-d-learn
mailing list