Sujet : Re: So You Think You Can Const?
De : jameskuyper (at) *nospam* alumni.caltech.edu (James Kuyper)
Groupes : comp.lang.cDate : 14. Jan 2025, 18:46:30
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vm67tm$2gnpj$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
User-Agent : Mozilla Thunderbird
On 1/14/25 03:02, Julio Di Egidio wrote:
On 13/01/2025 21:45, David Brown wrote:
On 13/01/2025 20:30, Julio Di Egidio wrote:
...
Then, with all due respect, you are being naive: "let's also not
forget to tell the OP how to write code" is a piece of it, for example.
>
Could you point to the post from which you are quoting?
That was said to you by Ben Bacarisse at some point early in the thread.
I found only one message by Ben Bacarisse to David Brown in this thread.
The entirety of Ben's comments follow:
"I think missed out the crucial "const" on the first line of the second
example! It's always the way."
and
"I prefer
const int *cp = malloc(sizeof *cp);"
Which of those two comments did you misinterpret as "let also not forget
to tell the OP how to write code"?