Stupid Query

Hi,today is my first day with OpenGL,and I don’t know coding that well.
But since we have it in a course in college,I need to learn it.

I have a weird problem with OpenGL.
Somehow,everytime I run even the simplest program to display a
wireframe teapot,it doesn’t render the window size properly.
Neither does glutInitWindowPosition(50,50); seem to work

http://pastebin.com/HbvEYMLL
Have I made a mistake in initializing something?
(This is the first time I have ever used OpenGL,so please bear with me,if its a stupid question)

From the doc :
http://www.opengl.org/documentation/specs/glut/spec3/node11.html
These set values for future windows, created later.
Just move glutCreateWindow(“hello”); to right before glutMainLoop.

Furthermore, do not expect position to be always accepted, nor size to be always exactly as requested, read the doc again.