How to create / call and read data from a struct in C++?

I am watching this video, if it solve my problem, I will obviously accept your answer )