P
Paul
After recent discussions I have come to the following conclusion:
"A pointer-to an array-type object" is not the same as "a pointer to an
array of objects" . Example:
int array[16];
int (*p_arraytype object)[16] = &array; /*(1)*/
int* p_array_of_objects = array; /*(2)*/
More generally the following terms can be used:
1) pointer to an array-type
2) pointer to an array
There are many confused individuals who say "pointer to array", when they
mean "pointer to array-type object". Often they put their opinions across in
such a way that it's a factual statement of an expert, perhaps because they
believe they are experts. As this newsgroup is unmoderated there is no way
to stop an overwhelming flow of bullshit from these self proclaimed experts,
so I would like to advise any beginners to use their brain and understand
how things work, and not to listen to these people with deluded opinions.
Hope this helps to clear up any confusion introduced in my other threads.
TY
Paul.
"A pointer-to an array-type object" is not the same as "a pointer to an
array of objects" . Example:
int array[16];
int (*p_arraytype object)[16] = &array; /*(1)*/
int* p_array_of_objects = array; /*(2)*/
More generally the following terms can be used:
1) pointer to an array-type
2) pointer to an array
There are many confused individuals who say "pointer to array", when they
mean "pointer to array-type object". Often they put their opinions across in
such a way that it's a factual statement of an expert, perhaps because they
believe they are experts. As this newsgroup is unmoderated there is no way
to stop an overwhelming flow of bullshit from these self proclaimed experts,
so I would like to advise any beginners to use their brain and understand
how things work, and not to listen to these people with deluded opinions.
Hope this helps to clear up any confusion introduced in my other threads.
TY
Paul.