VS2019 installation tutorial (C language)

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/

Insert picture description here
2. Hover over "Download Visual Studio" and click "Community 2019"
Insert picture description here
3. Click the lower left corner to open the file , Click Yes
Insert picture description here
5. Click Continue
Insert picture description here
6. Check "Universal Windows Platform Development" and "Desktop Development Using C++", as shown in the figure.
Insert picture description here
7. Click Install.

Insert picture description here
8. Open Visual Studio 2019 and click to create a new project.

Insert picture description here
9. Among all project types, select Desktop
Insert picture description here
10, select Windows Desktop Wizard
Insert picture description here
11, fill in the project name, select the project location, and check "Place the solution and the project in the same directory".
Insert picture description here
12. Click Create, select the console application, and check the empty projectInsert picture description here

13. Click OK.
Insert picture description here
14. Expand the demo, right-click the source file, and add a new item.
Insert picture description here
15. Select the first
Insert picture description here
16. Change the English name and replace the suffix (.cpp) with .c
Insert picture description here
17. Click Add
Insert picture description here
Insert picture description here
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
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/csdcainiao/article/details/108028965