P
Paul
In a recent discussion about a pointer to an array in the form of, int
(*pparr)[N]. The object that is a result of dereferencing such a pointer is
an array-type object. In this context the following was said:
If you disagree with what I said here , can you show me how to access an
array without using a pointer or a reference, or converting to one?
If you cannot provide an example of code to back up your statement is
nothing more than meaningless drivel.
</quote>
Ian Collins has disputed what I said about accessing the array with the
statement "I think the examples above disprove that."
He has since suggested that (*pparr)[N], is evidence that supports his
claim.
Can someone please inform Mr Ian Collins that the expression (*pparr)[4]
first dereferences pparr and then coverts the result into a pointer of type
int*, which is then dereferenced to access the array.
He does not seem to understand even the most basic C++ terminology and he
seems a bit stupid. It would greatly appreciated if someone could explain to
him how things work, because TBH I've had enough of his stupidity.
(*pparr)[N]. The object that is a result of dereferencing such a pointer is
an array-type object. In this context the following was said:
What examples? And what do you suggest they disprove about the above?I think the examples above disprove that.
If you disagree with what I said here , can you show me how to access an
array without using a pointer or a reference, or converting to one?
If you cannot provide an example of code to back up your statement is
nothing more than meaningless drivel.
</quote>
Ian Collins has disputed what I said about accessing the array with the
statement "I think the examples above disprove that."
He has since suggested that (*pparr)[N], is evidence that supports his
claim.
Can someone please inform Mr Ian Collins that the expression (*pparr)[4]
first dereferences pparr and then coverts the result into a pointer of type
int*, which is then dereferenced to access the array.
He does not seem to understand even the most basic C++ terminology and he
seems a bit stupid. It would greatly appreciated if someone could explain to
him how things work, because TBH I've had enough of his stupidity.