wrote:
please leave some context. The question is if C++ guarantees the
sizes of native data types
>
> no!!!
>
> c++ dosn't gurantee the size of the native data types.
> it only makes some very weak statements such as the size of int should
> be greater than
> or equal to short but never makes exact statement about the size.
it does, however, specify a minimum size. A char is at least 8 bits, an
at leat 16 bits and a long at least 32 bits. There are similar promises
for floating point types. Unsigned are the same size as their
corresponding signed types
--
Nick keighley