- Download: https://pc.qq.com/detail/19/detail_25679.html Here we select Normal download
- After downloading the file named vs_community_2.3.2214.1002.exe , here we double-click to open .
- After opening the bottom right corner, click Continue , and then wait for the download and install.
- Upon completion of this page will be
-
Then we check the use of C ++ desktop development and common development of both the Windows platform, there are other needs can choose, also can be installed again in the future
-
Installation location can be the default C disk, personal advice to IDE on the C drive, the other on the D drive, because the space it needs a little big
- Then slowly it can wait
- Then select Restart
- Open Visual Studio 2019 , we choose a later date
- The default here is like, can also choose to your liking
- Here the bottom right corner but do not need to choose to continue the code
- File -> New -> Project here to choose C ++
- Then select Empty Project, and then click Next
- Here you can modify the location and then create
- On the right to find the right source file folder -> Add -> New Item
- Here the file name suffix must be a .c then add
- You can then write code, if that word is too small, the keyboard can press Ctrl key, and slide to adjust the middle mouse wheel. After writing Debug -> begin ( not debugging )
- Then you can see the results
- At this time we tested the second program, the compiler can not be found, there is an error, the error number is C4996
- This is a software problem, we can project -> Project Properties -> C / C ++ -> Preprocessor - Preprocessor definitions, and then followed by the phrase, _CRT_SECURE_NO_WARNINGS , then OK
- Then the error will not
- Tutorial.