Home >Development Tools >VSCode >How vscode runs c language code
How does vscode run c language code?
The program file extension of c language is .c
Recommended related tutorials: vscode tutorial
After writing the code in vscode, After compiling and running
gcc 文件名 -o 编译后的文件名
ls in the terminal, you can see our compiled file
Use the following command to run the file
./ 编译后的文件名
Then the result will be output on the console .
The above is the detailed content of How vscode runs c language code. For more information, please follow other related articles on the PHP Chinese website!