Sujet : Re: "A diagram of C23 basic types"
De : bc (at) *nospam* freeuk.com (bart)
Groupes : comp.lang.cDate : 08. Apr 2025, 14:32:59
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vt38i9$29prg$1@dont-email.me>
References : 1 2 3
User-Agent : Mozilla Thunderbird
On 05/04/2025 18:56, Philipp Klaus Krause wrote:
Am 02.04.25 um 11:57 schrieb bart:
* Where are the fixed-width types from stdint.h?
Same as for size_t, etc: They don't exist. Those are not separate types, just typedefs to some other types. E.g. uint16_t could be typedef'ed to unsigned int.
This is the point I made a few weeks back, but others insisted they were part of C:
Me:
>> stdint.h et al are just ungainly bolt-ons, not fully supported by the
>> language.
Keith Thompson:
> No, they're fully supported by the language. They've been in the ISO
> standard since 1999.
>
This is an exchange posted on 20-Mar-2025 at 19:10 GMT (header shows 'Thu, 20 Mar 2025 12:10:22 -0700')
Clearly, they're not quite as fully supported as short, int etc; they are usually just aliases. But that needn't stop them being shown on such a chart.