DEV Community

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

Posted on • Edited on

3 3

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)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay