Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: sizeof (integral types)
Message-ID: <1989Apr24.172541.911@utzoo.uucp>
Organization: U of Toronto Zoology
References: <12005@paris.ics.uci.edu> <10044@smoke.BRL.MIL> <29127@apple.Apple.COM> <10064@smoke.BRL.MIL> <29193@apple.Apple.COM>
Date: Mon, 24 Apr 89 17:25:41 GMT

In article <29193@apple.Apple.COM> austing@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@zoo.toronto.edu
