A trivial “cylinder”, non-OO
A cylinder is defined by its radius and it height. You are familiar with this:
volume = PI*c.radius*c.radius * c.height;
cout << "volume is " << volume << endl;
You use a struct to group several simple entities to a more complex entity.
But you still have to know how to use that information to, say, calculate the volume.