Alexander
Mon Jul 23 13:28:38 CDT 2007
There is one way in which this FORTRAN style string formatting
adopted in C is superior to the C++ attempts - it's graphic.
Meaning that most of the time you can actually get a pretty good
idea what the actual output will look like from the format string
alone. I use it exclusively despite its shortcomings as a reservoir
of maintenance bugs.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ:
http://vcfaq.mvps.org
=====================================
"Tim Roberts" <timr@probo.com> wrote in message
news:grm5a310c01mbie98hps7qvk9s401r2in2@4ax.com...
> "Jack" <jl@knight.com> wrote:
>>
>>but hmmm.... eh..... I really like to use "var%05X", cos it is neater for
>>maintainence.... :)
>
> "Neater for maintenance"? What do you think that means? I almost always
> reach for printf for things like this, but that's because I'm a dinosaur,
> and I do it with the full understanding that there are better ways to do
> it
> today.
>
> Please do not fool yourself into thinking that it is "better".
> --
> Tim Roberts, timr@probo.com
> Providenza & Boekelheide, Inc.