简体   繁体   中英

How to execute a C program in VS Code

Okay, I am an idiot and I cannot figure out how to compile and run C program in VS Code. How should I do it? I typed in the code itself, so what is next in order for me to see the output in terminal? Thanks for accepting my stupid

link your compiler to vs code. if you are using c, it should be gcc or some other fork. to use the compiler just open the terminal, go to gcc or what your compiler name is, and then run it in terminal(if you right click on code)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM