C/C++ Syntax Reference - Accessing Stuct ElementsAccessing Struct ElementsAccessing 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. |