Official repository for the Microsoft C/C++ extension for VS Code.
Перейти к файлу
Bob Brown 24a04d3736 test 2024-05-15 11:28:22 -07:00
.github Bump follow-redirects from 1.15.4 to 1.15.6 in /.github/actions (#12111) 2024-03-18 12:24:09 -07:00
Build test 2024-05-15 11:28:22 -07:00
Code Samples Remove trailing whitespaces (#8254) 2021-10-14 10:47:28 -07:00
Documentation clarify how to get binaries if F5 results in error (#8788) 2022-02-18 13:30:17 -08:00
Extension Improvements to crash call stack logging. (#12247) 2024-04-25 16:38:21 -07:00
ExtensionPack update extension pack (#9830) 2022-09-01 12:56:55 -07:00
Images updated screenshots 2017-12-07 16:50:06 -08:00
RuntimeLicenses Update runtime licenses. (#6735) 2021-01-06 17:27:47 -08:00
Themes Fix theme image paths 2022-10-24 12:50:31 -07:00
.gitignore Add OneLocBuild to .gitignore 2021-11-10 11:53:57 -08:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md (#7340) 2021-04-12 11:16:17 -07:00
CONTRIBUTING.md change master to main (#6679) 2020-12-17 16:04:38 -08:00
LICENSE.md Update LICENSE.md (#11102) 2023-06-16 12:05:56 -07:00
LanguageCCPP_color_128x.png Add files via upload 2017-07-28 16:26:23 -07:00
README.md Add pre-requisites to readme (#9722) 2022-08-11 15:56:31 -07:00
SECURITY.md Microsoft mandatory file (#9326) 2022-05-18 15:31:15 -07:00
launch.md Deprecate old documentation and update readme files (#3984) 2019-08-08 09:47:35 -07:00

README.md

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 editing (IntelliSense) and debugging features.

Pre-requisites

C++ is a compiled language meaning your program's source code must be translated (compiled) before it can be run on your computer. VS Code is first and foremost an editor, and relies on command-line tools to do much of the development workflow. The C/C++ extension does not include a C++ compiler or debugger. You will need to install these tools or use those already installed on your computer.

  • C++ compiler pre-installed
  • C++ debugger pre-installed

Here is a list of compilers and architectures per platform officially supported by the extension. These are reflected by the available IntelliSense modes from the extension's IntelliSense configuration. Note that support for other compilers may be limited.

Platform Compilers Architectures
Windows MSVC, Clang, GCC x64, x86, arm64, arm
Linux Clang, GCC x64, x86, arm64, arm
macOS Clang, GCC x64, x86, arm64

For more information about installing the required tools or setting up the extension, please follow the tutorials below.

Overview and tutorials

C/C++ extension tutorials per compiler and platform

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.