I've don't have a whole lot of experience with 2d stuff using C++, but I have created a few simple games.

I chose to use SDL. You can find some very good tutorials on it here: http://www.lazyfoo.net/SDL_tutorials/index.php

It covers setting up SDL aswell.

Hope this helps.