Learning OpenGL and relearning C++