need some help

i want to draw a simulation 3d about robot for my final exam
my calculation give me three coordinat in x y z axes
but i have a problem how to draw a cilinder or prismatic its up to you
i need to simulate that graphics
or someon give the source code how to create an 3d axis in opengl and how to draw
for the attention thanks
u can reply to my email

Check out the Nehe tutorials, they will walk you through your first object to cylinders and beyond.
http://www.opengl.org/developers/code/tutorials.html