C++ Team Blog

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

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

Going Native: Build Throughput, PCH Tool

The Visual C++ team is committed to improving your build throughput in VS2015, and we’re not just talking about shaving-off-a-few-seconds-chump-change. Check out our latest GoingNative video for a slew of tools to help you get those gains, and in particular, be sure to try out our Precompiled Header (PCH) Tool on VS Gallery and let us ...

Introducing the Universal CRT

In June of last year we published a pair of articles discussing the major changes that we had made to the Visual C++ C Runtime (CRT) for Visual Studio 2015. In "The Great C Runtime (CRT) Refactoring" we explained the major architectural changes that we had made to the CRT. In "C Runtime (CRT) Features, Fixes, and Breaking Changes in Visual ...

C/C++ Code analysis in VS2015

By Joe Morris & Jim Springfield (MSFT) This blog provides answers to the following 2 questions. Before we get started, let’s be on the same page on some terminology. Code analysis: C/C++ code analysis is also known as /analyze. It is sometimes referred to as “static code analysis” or simply “code analysis...

Developing Xamarin Android Native Applications

Xamarin has quickly become a popular way for creating cross-platform mobile applications promoting true code-reuse while allowing developers to create native* (native here means natural to the platform) user interfaces, providing them access to full spectrum of functionality exposed by the underlying platform/device and guaranteeing native* ...