How to use OpenGL with C++