One thing that I do in my books in order to save paper is to decrease the number of spaces per indent to two. Open Visual Studio Community and from the main menu, select “Tools → Options”. In the popup window that appears, click on the dropdown arrow to expand the “Text Editor → C/C++ → Tabs”. This will open the “Tabs” options for C++, as shown in Figure 1. Make sure that the “Indenting” option is selected as “Smart”. Set the fields “Tab size” and “Indent size” to 2. Then, make sure that “Insert spaces” is selected (instead of “Keep tabs”).
Click on the “OK” button at the bottom of the “Options” screen.
Visual Studio Community has been configured properly! Now it’s time to conquer the world of C++!