The ISO C++ project template file for Visual Studio 2015 that I use in class can be downloaded here: ISO-C++vs2015.zip.
Place the downloaded ISO-C++.zip file in the following folder (replace "rick" in the following path with your user name):
C:\Users\rick\Documents\Visual Studio 2015\Templates\ProjectTemplates
The next time you start Visual Studio and attempt to create a new C++ project you should have an option in the C++ projects dialog to create an ISO C++ console application. Give the project a relatively simple name because the template automatically will create a .cpp source file with the same name.
This custom project template does two things for you:
#include<iostream>
, etc.
Even though this template automatically creates the source file
containing the main
function, you may add extra
C++ source files to the project as needed through Visual Studio's
normal Add item menu.