ok first im sorry if this is gonna come out the other end looking all messy but its 1:30 AM now and im tired so my question is what do i have to learn to program graphics into a c++ program like the hello world program but so hello world is in big bold letters circleing the world ex: spinning in different directions (hello world c.w. world c.c.w.)
OpenGL is used for all platforms, DirectX is mostly used for windows. If you want to go simple you can try learning SDL (i'd recommend starting with SDL as opposed to DirectX/OpenGL).
SDL is basically a graphics library which you install, so that it plugs in to your compiler (for example, Dev C++ is easy to use with SDL) and then you can go ahead and use it.
What AngelHoof said. If you are talking about 2D/3D graphics that is. If you are talking about creating a GUI (as in, a window with buttons to click for example) you could use wxWidgets, or platform specific libraries such as the Win32 API for Windows platforms.
Using OpenGL or DirectX SDKs directly is something only someone as insane as me would try to do (though OpenGL's is actually pretty neat). SDL or SFML (the latter is being discussed on these forums here: http://cplusplus.com/forum/lounge/22305/ ) are a more sane solution indeed.
Also, in response to your question, there are absolutely no functions, classes, or templates for creating graphics in the standard library. You will need another library, which might be a little bit painful to install, but not too bad.