DEV Community

loading...
Cover image for How to write C/C++ Code in VS Code?

How to write C/C++ Code in VS Code?

Yash Desai
Developers. We turn ideas into code, and code into cash. Yes, that's me.
Updated on ・1 min read

Install VS Code

Click here to download the latest version of VS Code.
VS Code

Install VS Code extension for C/C++

Click here to install latest version of extension for c/c++ extension for c/c++

OR

You can directly install it from VS Code extension menu. Alt Text

To compile and Debug your C/C++ code you need to install compiler. Here I'm using GCC Compiler with Mingw, so we need to install Mingw-w64

Discussion (0)