July 28, 2004
4:55 a.m.
Paul Eggert said:
The most postable format is %02.2d Yes, I suppose this is the most portable to ancient hosts, but unfortunately GCC complains about it: warning: `0' flag ignored with precision and `%d' printf format
That's right: the C Standard says that 0 is ignored if there's a precision. -- Clive D.W. Feather | Work: <clive@demon.net> | Tel: +44 20 8495 6138 Internet Expert | Home: <clive@davros.org> | Fax: +44 870 051 9937 Demon Internet | WWW: http://www.davros.org | Mobile: +44 7973 377646 Thus plc | |