Google
 
Webcprogramming.com




An Affiliate of AIHorizon




Accessing Struct Elements Through a Pointer to a Struct

To access an element of a struct when you have a pointer to a struct, instead of using the dot operator, use the arrow operator: ->
        struct_pointer->element;


-----
Interested in advertising with us?
Please read our privacy policy.
Copyright © 1997-2005 Cprogramming.com. All rights reserved.

Geodesy Designs