- Create a new console application.
- Edit the file to be as you want it in the new one.
- Select "Export Template..." in the "File" menu.
- Walk through the wizard (choose a name for your new template, etc.)
- Be sure the "Automatically import the template into Visual Studio" is checked.
- Restart VS
- Select "New Project"
- Select "Visual C++" in the tree control on the left
- Select your new template in the list in the middle
- The usual new-project stuff (name and location for the project, etc.)
[Note: As I'm writing this, I'm looking at it in VS 2013. I don't recall it's changing in VS 2015, but it's possible.]