|
From: Oswald B. <os...@kd...> - 2007-10-04 08:58:55
|
On Thu, Oct 04, 2007 at 09:31:28AM +1000, Nicholas Nethercote wrote: > Making things more ANSI would be good, but then the ',' prefix is also > extremely useful -- it inserts commas into printed numbers, eg. prints > "1,234,567" instead of "1234567". Any ideas for how to get the best of both > worlds? > this one isn't particularly hard, because you just got the "elevation" of the sign wrong - the susv2 grouping char is '. unlike in the standard, you don't need to take the locale into account to make (newer versions of) gcc happy ... -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- Chaos, panic, and disorder - my work here is done. |