Sujet : Re: Two questions on arrays with size defined by variables
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.lang.cDate : 10. Feb 2025, 02:56:29
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vobmce$tia0$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 10.02.2025 01:46, Keith Thompson wrote:
Michael S <already5chosen@yahoo.com> writes:
On Sun, 9 Feb 2025 18:18:04 +0100
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
There's no such thing as a "string object" in C. [...]
Since I didn't know what Michael was suspecting as a potential
problem I wanted to cover two aspects; assignation s = "literal"
and s = strcpy() . (Nothing more was intended to express by my
reply.)
[ "C" and C++ considerations of strings character arrays, pointers ]
(In C++ I'm not using "C" strings but string objects, plus literal
strings of course.)
Janis