Home  >  Article  >  Development Tools  >  vscode cannot compile c language solution

vscode cannot compile c language solution

尚
Original
2019-12-12 14:39:118567browse

vscode cannot compile c language solution

vscode cannot compile c language solution:

1. Install the plug-in that runs C/C

vscode cannot compile c language solutionClick 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)

vscode cannot compile c language solution

win R" to open "Run", "cmd" to open the command line interface
It cannot be compiled before configuration. After configuration, it is as follows

vscode cannot compile c language solution

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!

Statement:
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