select object from multiple object and rotate


i want to know how can i select one object form multiple object on screen and can allow user interaction to it like rotation or translation

i know how to do rotation of one object using mouse

but i want to know can we do selection one object in multiple object

You can do “color picking” as described here.

You can also do raycasting. There are functions available in physics libraries such as Newton.
There is also glhDoesRayCrossTrianglef in my glhlib library. See signature.

For moving objects, look at how Blender does it.