C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
New Enumeration Checks in Visual Studio 2022 version 17.2 Preview 3
New Enumeration Checks in Visual Studio 2022
Sign Up for the Pure Virtual C++ 2022 Conference
In the last couple of years we have run Pure Virtual C++, a free one-day virtual conference for the whole C++ community. This month we're doing it again! Sign-up for free on the website to be the first to hear about our program schedule, access our extra on-demand C++ demos, and get more virtual surprises. The live event will run April 26th 14:00-17:00 UTC on Microsoft Learn TV. It will also be streamed to YouTube and videos will be available to watch after the event. The full program will be announced soon, but expect content on C++23, modules, static analysis, embedded C++, and some fun C++ corners yo...
Using GitHub Codespaces and Visual Studio Code for C++ Development
GitHub Codespaces and Visual Studio Code lower the barrier to entry for developing C++-based applications and libraries.
Enhancing Game Developer Productivity with Visual Studio 2022
In this blog, we will discuss how much faster you can get to code with speedier C++ IntelliSense ready and opening a file. Learn how search improved with faster with C++ Find All References and indexed Find in Files.
C++ Modules in CMake with Visual Studio
We’ve seen a lot of excitement around C++ modules since we announced support in the Microsoft C++ compiler and Visual Studio. Ever since, the community has been asking us when CMake support was coming. I am happy to announce that Visual Studio 2022 17.2 Preview 2 has experimental support for C++ modules in CMake projects. One caveat for this early support, is that you must use the Visual Studio (MSBuild) generator. If you want to try it out, you can download the latest preview of Visual Studio today. We are looking forward to hearing your feedback about how modules work in your CMake projects. C++ modules are ...
Visual Studio for remote macOS C++ development
The latest preview version of Visual Studio is now available to download. In this latest release, users wishing to develop cross platform C++ applications for macOS can now make use of Visual Studio’s Linux tools with CMake to target the Mac. There is some setup required on the Mac side to enable the support, but then the Mac is treated just as any other remote (Linux) target by Visual Studio. Installation To get started install the latest preview release of Visual Studio 2022 and select the Linux and embedded development with C++ workload. The components you need are selected by default. Setup on the...
Embedded Software Development in Visual Studio Code
In this post we will walk through the new Visual Studio Code Embedded Tools extension. We'll show how to acquire embedded tool dependencies with vcpkg then edit, build, deploy, and debug an Azure RTOS ThreadX project highlighting the new peripheral register and RTOS object views.
Execution and Static Analysis Support for MSVC on Compiler Explorer
Compiler Explorer is a popular resource for visualizing the assembly output of various compilers, trying out different compiler versions and flags, and testing many popular libraries. We're pleased to announce that, as of today, code execution and static analysis are now available for MSVC on Compiler Explorer. Execution on CE has been one of our highest voted tickets on Developer Community, so we hope many of you will find it useful. The static analysis tool provided is the same as offered in GitHub Actions and in the IDE as background code analysis. To enable code execution, tick the "Execute the code" bo...
GSL 4.0.0 is Available Now
GSL 4.0.0 has been released! Here is a summary of the changes.