what is glut ? can you give me somekind of definition ? where can I learn about its functions ?
glut is a toolkit to give you simple windowing functions on various operating systems (Win32,unix etc). It is portable to all the platforms so you can compile code you’ve written on most OS’s. It is also a lot simpler than deliving into the Windows SDK or Xlib. Search this website for details.
If you are looking for a book, have a look at:
OpenGL programming for the X-Window System, Addison-Wesley, by Mark J. Kilgard.
It’s written by the designer of glut, so it’s a good reference.