writef format bug

Wang Zhen nehzgnaw at gmail.com
Mon Feb 20 20:38:50 PST 2006


nascent wrote:
> At least I believe this is a bug.
> 
> writefln("%c", 's');
> 
> gives me a format exception.


This is not a bug. Please refer to the string format spec at 
http://www.digitalmars.com/d/phobos/std_format.html.
%c is not supported. Use %s instead.



More information about the Digitalmars-d-bugs mailing list