where can I find a code/ready program in C++ graphics of a rotating body.
appreciate your time.thanks

You'll have to elaborate. You just want a video? Or you want code to open a 3D data file and produce a video of it rotating? This is definitely a fairly complex task, so you'll have to specify your operating system, which graphics library you want to use (OpenGL, I'd suggest VTK myself, etc).

A code for a simple 3D illustration. EGAVGA.In borland C++ 3.0. a cuboid.
I need to compare it with others

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.