title: Can I compile and debug (run) a single C++ file in Visual Studio 2012? (How to avoid creating too many projects)
body: <p>I'm learning C++ out of a book and using Visual Studio 2012. In order to follow the book's exercises, I need to make multiple .cpp files with the main() function inside them. <strong>Is there any way I can compile/debug my programs without making a new project every single time?</strong></p>
  
  <p>For example, if I write a simple "Hello, World!" file and then decide to make something else that is really simple, can I avoid making a new project for each simple program? Is there any way to use Visual Studio 2012 just as a compiler? I would love it if I could just have everything inside a single project where I could compile whichever individual file I wanted and see it run.</p>
  
  <p>Thanks for your help.</p>