I bought a new computer and recorded the download steps.
Step 1
Baidu searched Visual Studio C++, found the link, and then selected it step by step.
Step 2
Open the installer and select C++.
I recommend the English version, so choose the English option in the language pack.
You can choose the download location.
Step 3
Then enter the interface.
Then search for the language.
Then close Visual Studio (change language will not take effect until the next time it is opened).
Step 4
To make it easier to find, it can be pinned to the start menu, of course, it can also be pinned to the taskbar.
Step 5
Create a new project here to open the red one, open an existing project later and click the green one.
I usually put the solution and the project together, that is, tick them.
Step 6
Add a new file (red box) in Source Files (the Chinese version is called source file ) (note that it is not placed in Resource Files!), and the existing item is a green box. (If Solution Explorer is gone, you can find it in View.)
If it is Source File, select the red one, if it is Header File, select the green one. Then click Add.
Generally I will join these two.
After the program is compiled and debugged, run the red (F5), and run the green (Ctrl+F5) directly.
Step 7
When all these are ready, you can learn C++. I use C++ Primer, the English version is not difficult, it is recommended.
If you don’t understand, please refer to my blog. C++ Primer's exercise program answers were written by Teddy van Jerry. Let's start with Chapter 1.
[C++ Primer(5th Edition) Exercise] Exercise Program-Chapter1 (Chapter 1)
Or want to relax and play a small game? Check out my blog [C++ Program] Tic-Tac-Toe Game (Human VS Lv3 Computer) (Record Statistics Version) (The game is also compatible with Human VS Human) or download directly [c++ Program] Tic-Tac-Toe Game (self-edited) (including people To people, people to machine).zip .