title: Compile single C++ file in Visual Studio 2010
body: <p>I want to compile a single file in c++ using Visual Studio 2010. I created a new file, not a project, and wrote some "hello world" code and I want to compile it and run it. How to do so?
  I've searched here and in Google, I got things like F7 or F5 nothing worked.</p>