Official repository for the Microsoft C/C++ extension for VS Code.
Перейти к файлу
Sean McManus c9cae0b8c0
Update changelog. (#12938)
2024-11-06 12:43:56 -08:00
.github Use the Microsoft CFS registry instead of npm's registry directly (#12787) 2024-09-30 12:46:12 -07:00
Build Adding vsix signing. (#12758) 2024-09-26 17:14:01 -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 Update changelog. (#12938) 2024-11-06 12:43:56 -08: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 top level documents for compliance (#12343) 2024-06-11 09:12:51 -07:00
CONTRIBUTING.md Use the Microsoft CFS registry instead of npm's registry directly (#12787) 2024-09-30 12:46:12 -07: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 Update top level documents for compliance (#12343) 2024-06-11 09:12:51 -07:00
SECURITY.md Update top level documents for compliance (#12343) 2024-06-11 09:12:51 -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 Collection

The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry via the same setting provided by Visual Studio Code: "telemetry.enableTelemetry". Our privacy statement is located here. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsofts Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-partys policies.