Read up on OpenGL, OpenAl, DirectX, and game engines. Basically to program games you need both logic and graphics programming. I'd start with OpenGL or DirectX and stick with one for a while and use that for game programming (after of course, learning to program logic in C or C++)