spinoza1111said:
Consider the possibility that you are mistaken.
I have, for too long.
Call by reference is not new, so it isn't an example of your point. C
really doesn't have call by reference, and call by reference is *not*
implemented using the value of the address.
Again, you post negatives without having the courage, or the
knowledge, to post positive information, which would be useful.
The "right answer" to the following question
"Does C have call by reference?"
is not "yes", or "no". It's not even "yes and no". It is fundamentally
an essay: "C implements call by reference using call by value at
runtime. Call by reference occurs effectively when the programmer
provides the von Neumann address to a function using the ampersand
prefix operator, where the 'Von Neumann Address' is the address of a
variable in the storage of a computer which addresses data using
integer values over which the arithmetic and comparision operators are
defined."
All you are able to do is to find "errors" in such essayistic
paragraphs, and it's always possible to do so IF one believes that
things are Fundamentally simple in life. Then, in a frightening model
of actual Fundamentalisms, you issue destructive *fatwas* against the
writer.
Pray tell me how to implement C's call "by reference" WITHOUT using
the von Neumann address.
Also, you've just contradicted yourself. You denied that it's used in
C and now you implicitly concede that it is implemented.
Call by reference is not a new idea. It is, however, not implemented
in C. If you want to "contribute" call by reference to C, the way to
do it is to persuade ISO to add it.
Oh, now we're back to square one. Make up your mind, or are you only
concerned with the politics of personal destruction?
You've been corrected by other posters.
No, it accomplishes the task of helping people to understand C better.
You are NOT accomplishing that task in the slightest. You are
spreading lies and confusion because your publisher is probably paying
you to destroy reputations online. I am familiar with your publisher's
business practices. One Chicago friend did some editing for them and
was cheated of her compensation, whereupon she set up a Web site
describing their practices. The publisher charged her under Chicago
laws governing telephone harassment and she mistakenly chose to fight
the charges *pro se* (without an attorney). She was found in contempt
of court and jailed overnight at one point.
It would not surprise me if this publisher paid you to destroy Schildt
and by implication McGraw Hill's computer books.
It is *easier* to understand C if you recognise that C is always
call-by-value. The erroneous introduction of a term like "call by
reference" simply causes confusion to those C learners who alreasdy
know what call by reference really means, and doesn't help those who
don't.
The people who complain about my "trolling" (which here means being
literate above a low bound) also complain about you, Richard. You
spread confusion by giving negative answers to broader questions, and
unexplained answers to specific questions. You are not personally
vindictive but nonetheless propagate and enable the politics of
personal destruction because you have a Fundamentalist interpretation
of C which insists (like Bible-thumping, God-walloping, Come to Jesus
Fundamentalism with respect to Scripture) that there is only one
interpretation of C.