I was just wondering if anyone knew anywhere i could get example code for simple glut programs.
YES!!!
Good Tuts: http://nate.scuzzy.net/ http://www.xmission.com/~nate/opengl.html
And the official GLUT sit (i think) with the whole **** you need in pdf: http://reality.sgi.com/opengl/glut3/glut3.html