If you're a beginner programmer a better option is to install a gcc build for windows (mingw, tdm, etc) and use it instead of vc.
Also if you want to stick to vc10, you need (as far as I know) one of the latest nightlies. Older version have problem with it.
To answer your question Settings -> Compiler -> [your compiler] -> Toolchain executables