A Visual Studio project contains the C++ file(s) for a program. When the C++ code is compiled and linked, the project also contains the executable file that is produced.
To write, compile, and execute a program you first need to create a project for the program. This means you need to decide on a directory for the project; this is the project directory.
You will be writing lots of programs, and so you will need one project for each program.
Create a directory where all project directories will be created.
For example, I created a directory named
d:\261projects
in which you will create all projects for 261.
This directory will be used as the example directory containing all projects in the rest of these instructions.
If you choose a different directory to contain all your projects, replace d:\261projects by the directory you chose.