GLUT Window Template
This article describes in detail how to set up your first OpenGL GLUT window and provides you with a template for your OpenGL applications. It can be used in the following ways:
Learn GLUT and OpenGL through
Start your first OpenGL program
Use the code as a template for your OpenGL applications
Click below for a screen shot of what the program would look like when its run.
Make sure you at least read the “Running the Program” section of the documentation before you complain about the program not running.
Check it out, and let me know your feedback.