C++ Team Blog

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

More about resumable functions in C++

With the release of Visual Studio 2015 RC, we wanted to provide an update on the progress of resumable functions support in Visual C++. Since last time, we have made some changes to our experimental implementation that tracks the latest proposal (with the exception that resumable_traits and resumable_handle are called coroutine_traits and ...

Debug C++ code on Linux from Visual Studio

As you may have heard, Visual Studio 2015 introduces GDB support for Android development. The interesting thing about the capability is that because it debugs using GDB, it’s possible to adapt the implementation to debug other targets that support GDB debugging as well (e.g. Linux and Raspberry Pi). In this post I will share the steps I ...

Single-File IntelliSense and other IDE Improvements in VS2015

Hello C++ World! With the release of RC today, we've got a whole bunch of goodies in the IDE, not the least of which is refactoring as well as a really neat feature we like to call Single-File IntelliSense, where you can simply open a file (not needing a VC project) and take advantage of browsing, IntelliSense, and navigation support in VS! ...

MFC Dynamic Dialog Layout

One of the frequently requested MFC features (and by the way, thanks for the feedback and keep it coming!) is the ability to intelligently resize dialogs and their content at runtime. One approach is to intercept WM_SIZE message of the parent dialog and recalculate the size and position of the child controls accordingly. It works, but is ...

C++11 Constant Expressions in Visual Studio 2015 RC

In Visual Studio 2015 RC, we have implemented C++11’s Constant Expressions, a feature that has been in development since the November 2013 CTP. This article will describe some neat things that you can do with it, the differences in capabilities between this feature’s current and older implementations, and our future plans for it. ...

C/C++ Code analysis in VS2015 – RC Update

Hey Folks, in my blog earlier this year (see http://blogs.msdn.com/b/vcblog/archive/2015/02/02/c-c-code-analysis-in-vs2015.aspx), I talked about what's new in C/C++ code analysis for VS 2015 and why we did certain plumbing changes related to the front-end compiler. In that, I mentioned the limitation of CTP6 in which only analysis of C ...

Visual Studio 2015 and Graphics Tools for Windows 10

In Visual Studio 2012, we introduced Visual Studio Graphics Diagnostics for Direct3D. Since then, with every update and release of Visual Studio and every monthly preview release we have continued our commitment to improve and deliver great new features in these Direct3D graphics tools. I recently had the opportunity to demonstrate the ...

Visual C++ Tools for Windows 10 Technical Preview

Earlier this week we announced the availability of the first preview of the Visual Studio 2015 tools for building Windows 10 applications. C++ continues to be an important language for building Windows apps and in this blog post, we want to highlight some C++ specific functionality for Windows 10 app development. Windows universal apps You ...

Visual Studio 2015 – Share Your Thoughts

Are you using Visual Studio 2015 for cross-platform development? Take our survey!In CTP 6, we've added or updated the following: We would love to get your thoughts on these and other features for cross-platform / native development in Visual Studio 2015. The survey doesn't take too long and provides an opportunity to engage with ...