[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
->                       Indirect Structure Field Reference Operator

 structptr->field        indirect reference of structure field
 structptr               a pointer to a structure
 field                   any field name of the structure

    The -> operator is a convenient shorthand for referencing a field of
    a struct variable pointed to by a pointer.  It replaces the
    equivalent--but clumsy--expression:

                      (*structptr).field

See Also: .
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson