glClearColor states what color to use when you clear, so you should call it before glClear.
I would recommend having a look at Learning Modern 3D Graphics Programming. You can browse quickly through the parts you already understand, and quickly get to know how it is done the OpenGL way.
One problem is that Windows only support a very old API to OpenGL (1.1 or something like that), but the device drivers provides full support. To get access to the full functionality, you either have to use a special function to get the address of the extended functions, or you use a library that has it all prepared. I would recommend GLEW for this. I have heard gl3w is also good, but haven't used it myself.
If you want to write code that is compatible with Linux and other platforms, I would recommend glfw for a minimal library that provides an interface to windows management and other input and output devices. Stay away from GLUT.
thank you very much
I'm using Qt 4 (QtOpenGL4.dll) what do you think? That has nothing to do? I program for windows and mac osx
My project (lol)