Home  >  Article  >  Development Tools  >  How vscode runs c language code

How vscode runs c language code

藏色散人
藏色散人Original
2020-04-07 10:51:0916797browse

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 .

How vscode runs c language code

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!

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