GLUT

can somebody tell me how to add glut library to my project and how to specify the directory.Im facing linking problem in compiling my project.tQ

it depends on you compiler/IDE.
For gcc, add -lglut or -lglut32 depending on your platform.

If you need more details, please specify your OS, and the tools you use to compile.