On 2 mar, 22:52, Micah Cowan <mi...@micah.cowan.namewrote:
Ioannis Vranos <ivra...@nospam.no.spamfreemail.grwrites:
James Kanze wrote:
This is, of course, an incompatibility with C, since C allows
unsigned long even for a decimal.
I did not understand your last sentence above.
He means that a decimal literal without one of the suffixes, that
specifies a number greater than LONG_MAX is undefined in C++ (which
requires it to be representable as a long), but not in C (incuding
C90), which allows (requires) it to be represented as an unsigned
long.
Exactly, although when I reread the sentence I actually wrote,
it's not surprising the Ioannis didn't understand it.
--
James Kanze (GABI Software) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34