Google
 
Webcprogramming.com




An Affiliate of AIHorizon




Accessing Struct Elements

Accessing a struct is as simple as using the "dot operator". If you have a a struct named struct_name and it has an element named struct_element:
struct_name.struct_element;
Note that this works only in the case where the struct is not a pointer to a struct.

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

Geodesy Designs