OpenGL and C++