Get yourself a good free c++ compiler such as Microsoft Visual Studios Express Edition (my recommendation), or Eclipse if you are not using Windows. From there is just a matter of learning the language and how to code.
There are plenty of tutorials out there. I would start with "hello world" programs, which are supposed to help teach you the basics. I can't really recommend any tutorials, but I do use www.cplusplus.com
a lot for reference. Also, you should search for tutorials which use what ever c++ compiler you use.
Once you are ready for graphics, I find that SDL is extremely easy to learn and use. It is graphics library you can import into your project which lets you set up a drawing window and begin drawing pixels and what not with ease.
Some SDL sites which I would recommend:http://www.libsdl.org/
- The official sitehttp://www.lazyfoo.net/SDL_tutorials/
- One of the best tutorials on the webhttp://sol.gfxile.net/gp/
- A tutorial that I found to be very helpful for getting stuff up and running.http://www.ferzkopp.net/joomla/content/view/19/14/
- "SDL_gfx", A very popular extension to SDL