Pointer to x or y element of CPoint

Assuming that I have an array of points with type CPoint.
CPointArray arrpt; //arrpt is an array of points
CPointArray* parrpt = &arrpt;
Now can I have the pointer to x or y element of that array from parrpt?
It is something like this (parrpt ->x) or (parrpt ->y).
It's an array right? So it'll be something like:
 
(*parrpt)[i].x
Registered users can post here. Sign in or register to post.