visual studio 2010 single project with multiple cpp files with main

c++, program-entry-point, visual-studio-2010

Solution

You can choose not to compile the files. Go to the properties, and exclude the file from build.

Problem

I want to examine a lot of little cpp files that have `int main()` , and run only one of them at one running . something like this - Is there any way to do that without open new project for every cpp file ?

Original source