Re: embedded questions!!!



On Fri, 13 Jan 2006 10:47:45 -0600, Dave Hansen <iddw@xxxxxxxxxxx>
wrote:

>"a[i]" has *exactly* the same meaning as "(*a + i)" whether a is a
>pointer or array.

You mean *((a)+(i)). Or perhaps more precisely, to capture usual
unary conversion rules, *((&a[0])+(i)).

Jon
.



Relevant Pages

  • Re: Looking for speed performance to draw line.
    ... each item in an array, that being the next and/or previous indexes. ... and it's next pointer to the previous item's original next pointer. ... Next -1, Prev 0 ... shapes up into shape classes that implemented the required commands ...
    (microsoft.public.vb.winapi.graphics)
  • Re: passing a string to a C++ function
    ... method to get a pointer into an array, since I assume that he was first to ... Loz. ... Prev by Date: ...
    (microsoft.public.vc.language)
  • Re: pointer value
    ... It is a pointer to an ... array of 10 ints. ... the broken "Reply" link at the bottom of the article. ... Prev by Date: ...
    (comp.lang.c)
  • Re: Array of class and a pointer to it
    ... arrays, and pointing to the object. ... m_pMyClass is not a pointer, but an array. ... Prev by Date: ...
    (microsoft.public.vc.language)
  • Re: dynamically allocating a 2d array
    ... its first element. ... int (*array)[X] which is a pointer to an array of X integers. ... Prev by Date: ...
    (comp.lang.c)