I am in the very first step of using Emacs as my programming environment. I run it in DOS Prompt using emacs -nw and do the development there. It\'s quite unbel
you have several command line tools at your service:
.sln files (which are like ant's build.xml files)nmake which is an older build-system based upon Makefile filescl.exe and link.exeall you have to do is launch the visual-studio-commandline prompt OR incoporate the environment of that prompt into your own shell/powershell/emacs-environment. have a look at the vcvars32.bat file and what it does, it is located somewhere in the installation folder of visual2008.
you could also use other build systems (scons, cmake etc) which either are standalone (scons) or create native buildscripts for your compiler (cmake, would creates .slnin your case).
to compile (and link) a simple binary which uses opengl you can do this:
% cl /nologo opengl.cpp /link OpenGL32.lib GLu32.lib and GLaux.lib
take a look at a nehe-tutorial.