C++ Team Blog

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

Finding installed Visual C++ tools for Visual Studio 2017

There have been a number of questions from customers about how to locate the tools in the world of this new installation model.  The following blog post will share a number of options available for locating Visual Studio 2017 instances and provides various samples that illustrates the process in action. How to find installed Visual Studio ...

Always Set Impossible Goals

Impossible goals are like dreams, we always pursue them, with the hopes they will come true. In one of my recent experiences, I managed a feature crew, C++ Fast Project Load (FPL), a team of exceptional people. Personally, I'm very passionate about performance, as I believe it makes our interaction with our beloved machines much more ...

Happy 25th Birthday MFC!

February 26th marks the 25th anniversary for the Microsoft Foundation Classes (MFC). Join us in wishing MFC a big Happy Birthday! (image) MFC saw the light of day on February 26th 1992 and it has been a very large part of the Microsoft C++ legacy ever since. While Visual C++ 1.0 would only ship one year later (with MFC 2.0), in 1992 MFC 1.0...

Learn C++ Concepts with Visual Studio and the WSL

点这里看中文版 Concepts promise to fundamentally change how we write templated C++ code. They're in a Technical Specification (TS) right now, but, like Coroutines, Modules, and Ranges, it's good to get a head start on learning these important features before they make it into the C++ Standard. You can already use Visual Studio 2017 for...

Continuous Integration for C++ with Visual Studio Team Services

Visual Studio Team Services (VSTS) is an easy way to help your team manage code and stay connected when developing. VSTS supports continuous integration using a shared code repository that everyone on the team uses to check in code changes. Every time any code is checked in, it is fully integrated by running a full automated build. By ...

Vcpkg recent enhancements

Vcpkg simplifies acquiring and building open source libraries on Windows. Since our first release we have continually improved the tool by fixing issues and adding features. The latest version of the tool is 0.0.71, here is a summary of the changes in this version:See the Change Log file for more detailed description: https://github.com/...

Targeting the Windows Subsystem for Linux from Visual Studio

Update Jan. 8, 2020: Visual Studio 2019 version 16.1 and later has native support for WSL. This eliminates the need to establish an SSH connection and is the recommended workflow for building and debugging on WSL. The Windows Subsystem for Linux (WSL) was first introduced at Build in 2016 and was delivered as an early beta in Windows 10 ...

STL Fixes In VS 2017 RTM

VS 2017 RTM will be released soon. VS 2017 RC is available now and contains all of the changes described here - please try it out and send feedback through the IDE's Help > Send Feedback > Report A Problem (or Provide A Suggestion). This is the third and final post for what's changed in the STL between VS 2015 Update 3 and VS 2017 RTM...

Using C++ Resumable Functions with Libuv

Previously on this blog we have talked about Resumable Functions, and even recently we touched on the renaming of the yield keyword to co_yield in our implementation in Visual Studio 2017. I am very excited about this potential C++ standards feature, so in this blog post I wanted to share with you a real world use of it by adapting it to the ...

`yield` keyword to become `co_yield` in VS 2017

Coroutines—formerly known as “C++ resumable functions”—are one of the Technical Specifications (TS) that we have implemented in the Visual C++ compiler. We’ve supported coroutines for three years—ever since the VC++ November 2013 CTP release. If you’re using coroutines you should be aware that the keyword `yield` is being ...