Access struct members with the dot operator. Write the variable name, a dot, then the member name. This gets you to the specific data inside. Read or change it like any variable. Example: with Point p;, access x with p.x and y with p.y.
Assign values: p.x = 10; p.y = 20;. Use them: cout << p.x;. The dot connects container to contents. The dot says "look inside this variable and find this member." Without it, x alone means nothing.
You need to say which struct's x you want.