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

How vscode runs c language code

藏色散人
Release: 2020-04-07 10:51:09
Original
16849 people have browsed it

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  编译后的文件名
Copy after login

ls in the terminal, you can see our compiled file

Use the following command to run the file

./ 编译后的文件名
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template