Note: All the content of this article is for reference only, please feel free to enlighten me if there are any deficiencies.
1. Click the link to enter the Visual Studio 2019 page
https://visualstudio.microsoft.com/zh-hans/vs/whatsnew/
2. Hover over "Download Visual Studio" and click "Community 2019"
3. Click the lower left corner to open the file , Click Yes
5. Click Continue
6. Check "Universal Windows Platform Development" and "Desktop Development Using C++", as shown in the figure.
7. Click Install.
8. Open Visual Studio 2019 and click to create a new project.
9. Among all project types, select Desktop
10, select Windows Desktop Wizard
11, fill in the project name, select the project location, and check "Place the solution and the project in the same directory".
12. Click Create, select the console application, and check the empty project
13. Click OK.
14. Expand the demo, right-click the source file, and add a new item.
15. Select the first
16. Change the English name and replace the suffix (.cpp) with .c
17. Click Add
18. Enter the following code in the code box
#include<stdio.h>
int main(void)
{
printf("Hello World!");
return 0;
}
19. Ctrl+F5 execute code