How to code for a 3D rectangle and how to scale or translate in visual C++ ?please someone help...

You will need a GUI for that. Look up allegro,opengl directX.

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.