Home > Backend Development > C#.Net Tutorial > How to create C language in visual studio

How to create C language in visual studio

藏色散人
Release: 2023-01-03 09:31:18
Original
66094 people have browsed it

How to create a C language program in visual studio: First open the VS main program and choose to create a new project; then select C in the menu bar; then enter the VS main interface and find the source in the solution manager on the right File, right-click to add, and select New Item; finally select Add C file.

How to create C language in visual studio

The operating environment of this article: Windows7 system, visual studio2019 version, DELL G3 computer

Open the VS2019 main program and choose to create a new project

How to create C language in visual studio

Select C, Windows, All Project Types in the filter menu bar, select the empty project, click Next

How to create C language in visual studio

Configure New Project, choose any project name, and choose a location you know clearly for the project location. It is not recommended to choose the C drive. Choose to put the solution and the project in the same directory, click Create

Recommendation: "c Video tutorial

How to create C language in visual studio

Enter the VS main interface, find the source file in the solution manager on the right, right-click to add, and select New Item

How to create C language in visual studio

Select the C file (.cpp), change the extension to .c in the name bar below (the original extension is .cpp), and click Add

How to create C language in visual studio

Now you can write C language in the interface. After writing the program, press CTRL F5 to execute the program

How to create C language in visual studio

Notes

Establish A dedicated folder to save all projects (do not create it on the C drive)

Remember to save the code after writing it! ! !

The above is the detailed content of How to create C language in visual studio. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template