Home>Article>Backend Development> How to write c language in vs2017

How to write c language in vs2017?
First open the VS2017 software and choose to create the following project, as shown in the figure below
Recommended: "C Language Tutorial"

Then enter the Win32 console program in the pop-up interface, as shown below

Then check the empty project type, as shown below As shown

#After the C language program directory is created, right-click the source file and select Add New Item

Continue Select the C file and give the file a name, as shown below

Then write the following C language program in the C language file

Then click the local Windows debugger at the top, as shown in the picture below

Then compile and run the C language program, as shown in the picture below

The above is the detailed content of How to write c language in vs2017. For more information, please follow other related articles on the PHP Chinese website!