How to display graphics on a C++ program without third party libraries? : <p>I can't seem to find the answer I'm looking for, or I might miss understand this. Either way I am confused.</p>

<p>When I try to find out, there is always videos about C++ console programming, which annoys me because I wanna move away from console stuff by now. I know how to create a simple window, but not how to display real graphics on it. I have heard of stuff like OpenGL and DirectX, but it makes me wonder, what do those libraries have in their source whcih draws actual shapes and other things on the program? What C++ functions do they use in their code?</p>
