C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
Spring 2017 Visual C++ Migration Survey
The Spring 2017 Visual C++ Migration Survey is now open. Please take a few minutes to share your experiences, positive or not so positive. If you have not migrated, please let us know why. Share your candid feedback now! Thank you.
Visual Studio Code C/C++ extension May 2017 Update
Earlier this month, the C/C++ extension for Visual Studio Code hit another exciting milestone – it has been installed over 1.5 million times since it first shipped in March last year! Thanks to everyone who has sent us feedback to help us make it this far. We will continue to make improvements to the extension based on your feedback. Today we are shipping the May 2017 update to the C/C++ extension for Visual Studio Code. In addition to several bug fixes, this update added auto-completion for keywords, enables error squiggles and quick info which shipped in April as experimental features, and improves the exper...
Using C++ Coroutines with Boost C++ Libraries
This article was written by Gor Nishanov. Last month, Jim Springfield wrote a great article on using C++ Coroutines with Libuv (a multi-platform C library for asynchronous I/O). This month we will look at how to use coroutines with components of Boost C++ libraries, namely boost::future and boost::asio. Getting Boost If you already have boost installed, skip this step. Otherwise, I recommend using vcpkg to quickly get boost installed on your machine. Follow the instructions to get vcpkg and then enter the following line to install 32bit and 64bit versions of boost: To make sure everything got installed co...
Unit Testing and the Future: Announcing the Test Adapter for Google Test
The Visual C++ team is always looking for ways to improve the Visual Studio experience for C++ developers, regardless of their preferred development workflow. This time the focus is on unit testing. While Visual Studio has shipped with a native C++ test framework for a number of releases along with testing tools in the IDE, we recognize that there are a variety of C++ unit testing frameworks out there that developers may choose. Last year, we put out a survey to learn more about C++ developers use native unit testing to find problems with their code. Several test frameworks popped up frequently, most notably Goog...
Linux C++ improvements for cross-platform code sharing and type visualization
In Visual Studio 2017 we introduced the Linux development with C++ workload. This tutorial is going to walk through some of the improvements we have made in the 15.2 release using the classic spinning cube demo from Julien Guertault’s OpenGL tutorial. We have shown how to use this OpenGL demo in our Linux workload before. What we are showing here is how to use this as a single source base for both Windows and Linux using Shared Items in Visual Studio. From there we will show off some improvements we have made to debugger type visualization for Linux C++, for both natvis and Python pretty printing. C++ cross-plat...
C++17 Features In Visual Studio 2017 Version 15.3 Preview
CMake support in Visual Studio – what’s new in 2017 15.3 Preview
We are excited to announce the first preview release of Visual Studio 2017 15.3 update in conjunction with our Build 2017 conference! This preview includes two new features of interest to developers utilizing CMake. Support for the CMake Ninja generator and CMake CTest integration in the IDE. Please download the preview and try out the latest CMake features. If you are just getting started with CMake, follow the link to learn more about CMake support in Visual Studio. We are looking forward to your feedback. Build with Ninja You asked for support for more CMake build generators and we listened. The latest pr...
C++ at Microsoft Build 2017
The C++ team is at Build this week. Here are some of the highlights for C++ developers (and since there is a live stream and videos, you do not have to miss everything): We hope to see you there.
Using C++ Modules in Visual Studio 2017
点这里看中文版 This post was written by Gabriel Dos Reis, Andrew Pardoe, and Billy O’Neal What Is New? The Visual C++ Team is elated to announce that with Visual Studio 2017, it has substantially improved the quality of the C++ Modules TS implementation in Visual Studio, in addition to introducing ability to consume the C++ Standard Library via module interfaces. These module interfaces for the Standard Library, just like the compiler support for modules, are experimental and will evolve to track the standardization process. Getting Started Standard Library Modules support is included in Visual Studio 2017 RTM or new...