vscode cannot compile c language solution:
1. Install the plug-in that runs C/C
Click to search and install it directly Can
2. Install the C/C compiler
Take WIN10 as an example, configure the environment variables after installing the compiler.
Right-click on "My Computer"->"Properties"->"Advanced System Settings"->"Advanced"->"Environment Variables"->path in "System Variables", After selecting, click "Edit" -> "New" and add the path: "D:\mingww64\mingww64\mingw32\bin" (the path where the compilation tools are installed)
win R" to open "Run", "cmd" to open the command line interface
It cannot be compiled before configuration. After configuration, it is as follows
PHP Chinese website, there are a lot of freevscode introductory tutorial, everyone is welcome to learn!
The above is the detailed content of vscode cannot compile c language solution. For more information, please follow other related articles on the PHP Chinese website!