sizeof (integral types)

Henry Spencer henry at utzoo.uucp
Tue Apr 25 03:25:41 AEST 1989


In article <29193 at apple.Apple.COM> austing at Apple.COM (Glenn L. Austin) writes:
>Considering that C++ is an *EXTENSION* of C (and was written with K&R as
>active participants), the fact that C++ talks about longs as at least 24 bits
>is true for C as well.

C++ is only approximately an extension of C; there are a few incompatibilities.
Also, C++ is approximately an extension of pre-ANSI C, and there are a number
of minor discrepancies that Bjarne and crew are trying to sort out, so current
C++ cannot be considered a reliable guide to ANSI C.

One should also note that "A is an extension of B" means, roughly speaking,
"everything true of B is also true of A", not vice-versa.
-- 
Mars in 1980s:  USSR, 2 tries, |     Henry Spencer at U of Toronto Zoology
2 failures; USA, 0 tries.      | uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.lang.c mailing list