title: quickly compile cpp file
body: <p>I work with Visual Studio 2008. Sometimes when i'm looking for certain small tools on the web, they are provided as single cpp files. I guess in linux it's very easy to build the tools using a single command (i'm no linux guy). So my question is, what's the quickest way to compile them under windows (which Visual Studio 2008 installed). Do I really need to create a new project and add this cpp file?</p>