C++ Tutorial: Debugging Overview

Welcome to the C++ Tutorial series. In this article, we explore debugging concepts and do some hands-on debugging with Visual Studio 2017. One of the most useful features of an IDE  is the debugger. Under a debugger, you can step through code as it is running, examining the values of variables, structures, program flow, screen… Read more

C++ Tutorial: Hello World

Welcome to the C++ Tutorial. In this first C++ tutorial, you will learn how to write (and run!) your first C++ program, “Hello, World!”. Along the way you will learn a little C++ history, see how to configure a C++ console application in Visual Studio 2017, walk through code structure, and see how code is… Read more

CMake support in Visual Studio – what’s new in 2017 15.3 Preview 2

We’re excited to announce improved CMake and Ninja support in Visual Studio 15.3 Preview 2.  In this preview, we have updated CMake from version 3.7.2 to version 3.8 and added improved support for the CMake Ninja generator.  Additionally, this preview includes several fixes for community reported bugs. Please download the preview and try out the… Read more

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.  … Read more

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… Read more

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,… Read more

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,… Read more

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…. Read more

C++17 Features In Visual Studio 2017 Version 15.3 Preview

Visual Studio 2017 version 15.3 preview is now available, containing an updated Visual C++ toolset (i.e. compiler, linker, and libraries). Like VS 2015’s Updates, we’re adding C++17 features in VS 2017’s Updates, at a similar release frequency. Unlike VS 2015’s Updates (which combined IDE and toolset changes), VS 2017’s IDE is being updated more frequently (with… Read more

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… Read more