Код: Выделить всё
MyStruct myStructInstance
MyStruct* ptr = &myStructInstance
Код: Выделить всё
ptr->someField;
Подробнее здесь: https://stackoverflow.com/questions/790 ... -a-pointer
Код: Выделить всё
MyStruct myStructInstance
MyStruct* ptr = &myStructInstance
Код: Выделить всё
ptr->someField;