delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/29/19:07:32

Date: Wed, 29 Apr 1998 19:06:16 -0400 (EDT)
Message-Id: <199804292306.TAA21003@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: fighteer AT cs DOT com
CC: djgpp AT delorie DOT com
In-reply-to: <3547B0B9.2B05@cs.com> (fighteer@cs.com)
Subject: Re: OTP: European decimal notation (Was Re: Problems with paranoia.c and pow(0,0))

> So, is there a special language variant of C/C++ for Europeans where the
> role of ',' and '.' are reversed, and special European calculators and
> numeric keypads?  Or do you just have to remember to type numbers in the
> American style when you program?  It could be extremely confusing either
> way.

The ANSI C standard states that the locale of the *source* for C
programs is the C locale (with 7-bit ASCII characters, no less), and
is not changeable.  In the C locale, the conventions are the ones
you'd expect in the age-old C syntax.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019