C++ Team Blog

C++ tutorials, C and C++ news, and information about Visual Studio, Visual Studio Code, and Vcpkg from the Microsoft C++ team.

Now announcing: Makefile support in Visual Studio Code!
Now announcing: Makefile support in Visual Studio Code!
We are excited to announce a brand-new extension for building and debugging Makefile projects in Visual Studio Code: Makefile Tools (preview)! The extension is in pilot stages, but we’ve curated a list of over 70 popular opensource Makefile projects that work with Makefile Tools. Give it a try and let us know what you think! Installing the ...
Improved OpenMP Support for C++ in Visual Studio
Improved OpenMP Support for C++ in Visual Studio
In Visual Studio 2019 version 16.9 we shipped the first stage in our plan to support newer versions of the OpenMP standard in C++ under the -openmp:llvm flag. This flag currently enables several correctness fixes and the use of unsigned integers in parallel for loops.
Abbreviated Function Templates and Constrained Auto
Abbreviated Function Templates and Constrained Auto
Declaring function templates in C++ has always been quite verbose. C++20 added a new way of doing so that is more terse and more consistent with lambdas: abbreviated function templates. This short post will show how to use this syntax and how it applies to C++20 concepts. Abbreviated Function Templates C++11 introduced lambdas, which look ...
Blizzard Diablo IV debugs Linux core dumps from Visual Studio
Blizzard Diablo IV debugs Linux core dumps from Visual Studio
Blizzard is using Visual Studio 2019 to debug Linux core dumps on WSL. The following blog post is written by Bill Randolph, a Senior Software Engineer at Blizzard working on the development of Diablo IV. Thanks for your partnership, Bill! Introduction On Diablo IV we develop all our code on Windows and compile for multiple platforms.  ...
A Year of Conference Talks from the Microsoft C++ Team
A Year of Conference Talks from the Microsoft C++ Team
As we learned to adapt to virtual conferences last year we presented more than 20 talks on a wide range of topics. I've collected them all here so you can easily learn about the latest advances in our tooling as well as the cutting edge of C++ features. C++ Europe (February) WSLConf (March) Pure Virtual C++ (April...
Windows ARM64 support for CMake projects in Visual Studio
Windows ARM64 support for CMake projects in Visual Studio
In Visual Studio 2019 version 16.9 Preview 3 we added support for deploying CMake projects to a remote Windows machine and debugging them with the Visual Studio remote tools. CMake developers targeting ARM64 Windows can now cross-compile (with cl or clang-cl), deploy, and debug their projects directly from Visual Studio. You can download and ...