However, the fact you need to ask that question suggests to me that C++ isn't the best place to start for you at all. I'd try a framework such as Greenfoot first of all to get to grips with programming.
The tutorials (now for some reason called legacy tutorials) are a very good resource for learning openGL and GLUT, which is the most popular way that I know of for doing games that require a mouse and keyboard.
You could also use fltk, or the MFC libraries if you're on windows.