Re: "array"

Liste des GroupesRevenir à cl c 
Sujet : Re: "array"
De : Muttley (at) *nospam* DastardlyHQ.org
Groupes : comp.lang.c
Date : 02. Apr 2025, 13:43:59
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vsjbef$1s0b3$1@dont-email.me>
References : 1 2
On 2 Apr 2025 11:46:17 GMT
ram@zedat.fu-berlin.de (Stefan Ram) wibbled:
ram@zedat.fu-berlin.de (Stefan Ram) wrote or quoted:
C only defines "array type", not array, but it uses ISO/IEC 2382:2015
as a normative reference, and ISO/IEC 2382:2015 says:
>
 In practice, C programmers probably most often use
>
|An array is a collection of values, all of the same type,
|stored contiguously in memory.
"C data types" (2025) - Wikipedia-Seite
>
 , but I have not yet found a way to derive this from the ISO C spec!
>

You can't define mixed type arrays and the members have to be contiguous in
memory or half the standard library would fail.


Date Sujet#  Auteur
2 Apr 25 * "array"9Stefan Ram
2 Apr 25 +* Re: "array"2Stefan Ram
2 Apr 25 i`- Re: "array"1Muttley
2 Apr 25 +- Re: "array"1Rosario19
3 Apr 25 +- Re: "array"1Tim Rentsch
3 Apr 25 `* Re: "array"4Keith Thompson
3 Apr 25  +* Re: "array"2Chris M. Thomasson
3 Apr 25  i`- Re: "array"1Keith Thompson
3 Apr 25  `- Re: "array"1Tim Rentsch

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal