Learn language first. Standard library is the part of language too.
Then continue with libraries you need/want. If you want graphics, then it depends on what you want:
If you want to create GUI applications, you can use some libraries like:
*
QT:
http://www.qt.io/
all-purpose library, it has many classes aside from GUI part: networking, image processing, etc. But it requres use of its own precprocessor and in fact it is extension of C++. Completely uncompatible with templates. Still it is not that bad: in the end it all transforms in [hard to read] C++ code. License does not allows static compilation (among other things) in free version.
*
WxWidgets:
http://www.wxwidgets.org/
all-purpose library like QT. Uses native look on each platform (uses platform-provided primitives) when QT emulates it. Less restrictive license than QT.
*
GTK+:
http://www.gtk.org/
GUI library. Can be made to look exactly the same on all platform or use platform default look. Is a C library, but has C++ wrapper:
http://www.gtkmm.org/en/
*
FLTK:
http://www.fltk.org/index.php
Lightweight GUI library. Minimalistic. License has a special exception which allows static linking.
* Other multipurpose libraries: SFML, SDL, etc.
If you want to
develop 2D games:
*
SFML:
http://www.sfml-dev.org/
Is a C++ multipurpose library (handles images, sounds, networking). Actually has bad OO, but it is improving gradually, and it is better than nothing and fairly easy to use.
*
SDL:
https://www.libsdl.org/
Is a C multipurpose library. As it is a C library, expect lots of pointers.
If you want to
create 3D applications or to be as
close to hardware as possible:
*
DirectX and
OpenGL are multipurpose media libraries: handles images/3D scenes, sounds, raw input, etc.
They are harder to use, but provide endless possibilities. OpenGL is crossplatform to boot, but DirectX has more features.