C/C++ Syntax Reference - Accessing Struct Pointers
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;