Your question makes me think that you believe that C++ has a graphics library coming "out of the box" with the compiler, no, that is not true, currently the C++ standard does not include any graphics library, you must use an external library, such as Qt, Gtk, wxWidgets, OpenGL or the native library your Operating System offer.