Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>C/C++New to Visual Studio Code? Get it now.

C/C++

Microsoft

|
31,290,381 installs
| (473) | Free
C/C++ IntelliSense, debugging, and code browsing.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

C/C++ for Visual Studio Code

Repository  |  Issues  |  Documentation  |  Code Samples

Badge

The C/C++ extension adds language support for C/C++ to Visual Studio Code, including features such as IntelliSense and debugging.

Overview and tutorials

  • C/C++ extension overview

C/C++ extension tutorials per compiler and platform

  • Microsoft C++ compiler (MSVC) on Windows
  • GCC and Mingw-w64 on Windows
  • GCC on Windows Subsystem for Linux (WSL)
  • GCC on Linux
  • Clang on macOS

Quick links

  • Editing features (IntelliSense)
  • IntelliSense configuration
  • Enhanced colorization
  • Debugging
  • Debug configuration
  • Enable logging for IntelliSense or debugging

Questions and feedback

FAQs
Check out the FAQs before filing a question.

Provide feedback
File questions, issues, or feature requests for the extension.

Known issues
If someone has already filed an issue that encompasses your feedback, please leave a 👍 or 👎 reaction on the issue to upvote or downvote it to help us prioritize the issue.

Quick survey
Let us know what you think of the extension by taking the quick survey.

Contribution

Contributions are always welcome. Please see our contributing guide for more details.

Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Data and telemetry

This extension collects usage data and sends it to Microsoft to help improve our products and services. Collection of telemetry is controlled via the same setting provided by Visual Studio Code: "telemetry.enableTelemetry". Read our privacy statement to learn more.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2022 Microsoft