what's the use of gltransferf() and how can use it?

what’s the use of gltransferf() and how can use it?

I’m guessing you mean glTranslatef(x,y,z).
It translates (i.e. linearly displaces) the current matrix by the vector (x,y,z). You can use it anytime, assuming a valid render context is current, and as long as it is not called between a glBegin()/glEnd() block.

You might find in useful to take a look at the OpenGL faq:
http://www.opengl.org/developers/faqs/technical.html

There you will find lot’s of tips. I do think you should read a book on OpenGL (there are some available on line) to get some understanding of how it works, this will make it a lot easier to understand how it works.

Just a tip.
Mikael