Is this a bug ?

Adam D. Ruppe destructionator at gmail.com
Thu Nov 28 16:40:27 PST 2013


On Friday, 29 November 2013 at 00:35:30 UTC, Binarydepth wrote:
> It compiles but in run time terminal shows a segmentation fault.

works for me without segfaulting. What data did you  input?

> write(" %d: %d\n", bd, an);

This should be writef instead of write. writef uses the format 
string, plain write just literally outputs its arguments.


More information about the Digitalmars-d mailing list