[ Send an empty e-mail to c++-...@netlab.cs.rpi.edu for info ]
[ about comp.lang.c++.moderated. First time posters: do this! ]
Quote to support this please! According to K&R 2nd ed page 257 regarding
<limits.h>
"The values below are acceptable minimum magnitudes; larger values may be
used."
And the relationship has "always" been:
sizeof(int) <= sizeof(long)
NeilB
No, a long int must be at least as wide as an int which must be at least
as wide as a short. A short must be at least 16-bits, and int at least
16 bits and a long 32 bits. But if you choose to have a 64-bit short
then int and long must also be at least 64-bits. I do not think that
K&R says differently but that has nothing to do with C++ anyway.
--
Francis Glassborow
See http://www.accu.org for details of The ACCU Spring Conference, 2001
(includes many regular participants to C & C++ newsgroups)
--
sma at sohnen-moe dot com