C++ Team Blog

The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team

What’s New for C++ Developers in Visual Studio 2022 17.9

We are happy to announce that Visual Studio 2022 version 17.9 is now generally available! This post summarizes the new features you can find in this release for C++. You can download Visual Studio 2022 from the Visual Studio downloads page or upgrade your existing installation by following the Update Visual Studio Learn page. Standard ...

Visual Studio Code CMake Tools Extension 1.17 Update: CMake Presets v6, Overriding Cache Variables, and Side Bar Updates

The February release of the CMake Tools extension in VS Code is now available. With this release, we have three major new updates to the extension, including some of our highly upvoted requests: To view the full list of updates with this release, please look at our CHANGELOG. This release features 2 contributions from our open...

Quick Tips for using Copilot Chat with C++ in Visual Studio

GitHub Copilot Chat is now available in both Visual Studio and Visual Studio Code when you have an active subscription to the service. Copilot Chat is your AI pair-programmer that allows you to speak in plain text through the chat interface to accomplish programming tasks such as understanding sections of code, generating test cases, and ...

MSVC Toolset Minor Version Number 14.40 in VS 2022 v17.10

As we approach delivery of Visual Studio 2022 v17.9, the MSVC toolset version is 14.39. In Visual Studio 2022 version 17.10, the MSVC Toolset minor version will continue with 14.40 and continue incrementing in the ‘14.4x’ series. The file version and directories in Visual Studio v17.10 and subsequent installations will appear as follows...

Testing the MSVC Compiler Backend

This post provides a behind-the-scenes look at how we test MSVC's backend, which is responsible for optimization and code generation. Many people worldwide use our compiler and expect it to provide a high-quality experience in terms of correctness (compiled code behaves as written), performance (speed of the compiled code), and throughput (...

What’s New in vcpkg (January 2024)

This blog post summarizes changes to the vcpkg package manager as part of the 2024.01.12 release and changes to vcpkg documentation throughout January. This month’s vcpkg release was mainly minor bug fixes, while several new documentation articles were added. Some stats for this period:   vcpkg changelog (...

C++ in VS Code: Getting Started & Configuring IntelliSense

Ever wondered how you can configure IntelliSense in the C++ Extension  in Visual Studio Code? Or the easiest way to run your C++ code? With the new features added to the C++ extension, configuring IntelliSense and setting up a project is easier than ever. This includes a “Getting Started with C++” walkthrough, configure IntelliSense ...