printf format

Silver gaynor at busboys.rutgers.edu
Thu Dec 21 17:20:24 AEST 1989


Adding numeric formatting to printf is not difficult, once the method behind
printf's madness is divined (there was more madness than method in the printf I
played with).  Added cute things like the comma ability, filling with a
character other than blank, dollar signs, arbitrary radixes < z, etc.  Don't
ask me for the code, I don't have access to it, sorry.  I'd hunt down a pd
printf (uunet.uu.net, probably) and redo it, but I'm a little busy at the
moment.

Regards, [Ag]



More information about the Comp.lang.c mailing list