automate texture - coordonate generation ??

Hye,
how do I use the autoamte texture ?
I have an object but I can’t use the glTexCoord
Please Simple examples preferred with some doc. if possible.
tks

Use glTexGen, here is some sample code:

http://www.sgi.com/software/opengl/advanced97/programs/texgen.c