C++ Team Blog

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

Remote Debug Support in Visual Studio 2019

Visual Studio 2019 offers remote debug support for MSBuild and CMake projects targeting Windows and Linux. Thanks to remote debugging, our customers can target a wider, more diverse range of scenarios. We offer the flexibility to customize your deployment and automatically copy any dependencies needed to the target machine.

Registries: Bring your own libraries to vcpkg

Special thanks to Nicole Mazzuca for providing the content of this blog post. Are you working on a C++ project with library dependencies? Are you tired of maintaining a custom-built package management workflow with duct tape and git submodules? Then you should consider trying out a package manager. Perhaps you have been side-eyeing vcpkg ...

Take control of your vcpkg dependencies with versioning support

Special thanks to Victor Romero for putting together the content for this blog post. We have an exciting new feature to announce in vcpkg: the long-awaited and highly requested package versioning! This feature makes it possible to install specific versions of dependencies and control installed versions over time. In order to use this ...

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 ...

Visual Studio Code C++ Extension: Cross-Compilation IntelliSense Configurations

The February 2021 update of the Visual Studio Code C++ extension is now available! This latest release provides support for cross-compilation IntelliSense configurations and over 60 bug fixes! To find out more about all the enhancements, check out our release notes on GitHub. Cross-compilation IntelliSense configurations With this latest ...

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

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 ...

Feedback usabilla icon