I wouldn't recommend OpenGL for beginners.
Better to start learning the language first (c++11) with simple console apps. When you have mastered the language you can start learning about graphics.
The book "Programming Principles and Practice Using C++" by Bjarne Stroustrup uses FLTK for the gui.
There are also C++ books that teach C++ through game programming:
Beginning C++ Game Programming by John Horton (2019 version)
Beginning C++ Through Game Programming by Michael Dawson (2014 - so doesn't cover c++17/20)
This book - Beginning C++ Through Game Programming by Michael Dawson (2014 - so doesn't cover c++17/20)
it's a little old but it's very easy to read and everything right down to the variable names are game themed. the projects are all console projects IIR. I think the final project is a console based card game but don't quote me on that its been years since I read it. I still enjoyed it very much though. It made many things click for me.