Storing STRUCT in EEPROM?

The novice I am I can't manage the cpp code for the EEPROM.

It's working now with get and put a struct and 100.000 times is way enough in my life time.