Liste des Groupes | Revenir à cl c |
I assumed that most know that X->m is just shorthand for (*X).m, presumably created or adapted because the alternative (thanks to C's prefix dererence op) is so ungainly.Someone who wants to write p->m = 42 would not consider it nitpicking if>I merely said that LHSs of assigments fall into these categories:Yes, that incorrect explanation.
>
A = Y; // name
*X = Y; // pointer
X[i] = Y; // index
X.m = Y; // member select
I dispute that. What I said is very broadly correct. But in this newgroup
you do like to nitpick.
your compiler did not accept that form of LHS.
But I agree I was simply correcting a small error. Why did you not just
say "yes, I forgot a few cases"?
So to you, it is of the greatest importance that somebody doesn't just knowYou see why I wonder if you had a political career? This is pure spin.
about those four categories that they will be reading and writing all the
time in C code, but also know about:
>
(int){A} = Y;
There is no technical argument here, just an attempt to mock someone
pointing out a truth. I never even suggested that it was important,
just that it was a missing case. And, still spinning away, you ignore
X->m which /is/ important and was also missing.
Les messages affichés proviennent d'usenet.