Function to print a diamond shape

Jay Norwood jayn at prismnet.com
Sun Mar 23 08:10:59 PDT 2014


Hmmm, looks like stderr.writefln requires format specs, else it 
omits the additional parameters. (not so on derr.writefln)

stderr.writefln("time: %s%s",sw.peek().msecs, "[ms]");

D:\diamond\diamond\diamond\Release>diamond 1>nul
time: 16[ms]
time: 44[ms]





More information about the Digitalmars-d-learn mailing list