DEV Community

Cover image for How to write C/C++ Code in VS Code?
Yash Desai
Yash Desai

Posted on • Updated on

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

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

Top comments (0)