Pointers to structures commonly use the "arrow" operator. Like so:
Code:
struct foo instance, *ptrto;
/* accessing directly uses the "dot" operator: */
instance.somemember = somevalue;
/* assigning a pointer the address of an instance: */
ptrto = &instance;
/* accessing the member via a pointer to a structure uses the "arrow": */
ptrto->somemember = somevalue;
Now arrays are just like any other array:
Code:
struct foo array[SIZE];
struct foo *ptrto;
/* accessing directly again uses the "dot" operator: */
array[ SOMEELEMENT ].somemember = somevalue;
/* assigning a pointer to one of the array elements: */
ptrto = &array[ SOMEELEMENT ];
/* accessing via a pointer again uses the "arrow": */
ptrto->somemember = somevalue;
That what you were looking for?
Quzah.