I need someone to explain to me how to change object properties during runtime.

For example i know in visual basic if i wanted to change the location of an image i'd go image.left = whatever, thus changing it's left property

How do i do this in c++?

Its always hard to find answers to the simpler questions on google.