Lazy foo is a site with lots of basic 2d tutorials for using SDL in c++. Very good, and very simple.http://lazyfoo.net/SDL_tutorials/index.php
Site with a very basic overview of the major components that make up a complete 2d engine. Containts source code using SDL and opengl written in c++.http://gpwiki.org/index.php/SDL:Tutorials:Complet...
Open city is a 3d city simulator written in opengl and sdl using c++. Site contains a game programming tutorial based around the creation of the game.http://www.opencity.info/
Neon Helium (NeHe) is a site that contains a large number of opengl tutorial with the source code available for lots of different languages and frameworks. Very good for learning opengl.http://nehe.gamedev.net/