C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
Visual Studio 2015 Preview: Work-in-Progress Security Feature
BackgroundThe Preview for Visual Studio 2015 was announced on November 12, 2014. It includes a new, work-in-progress feature, called Control Flow Guard. By simply adding a new option to your Project, the Visual C++ compiler will inject extra security checks into your binaries. These will detect attempts to hijack your code. The check will stop execution of your code, before the hijacker can do damage to your data or PC.This blog explains how you can experiment with Control Flow Guard in the Preview. Your feedback will determine how we move forward in our release planning.For the rest...
Developing Native-Activity (Android) applications
Overview Visual Studio 2015 preview (download here) introduces the ability for developers to create Android Native Activity application as a part of the cross-platform mobile development. Android platform with Android Native Activity (API Level 9) introduced the capability to create pure C/C++ applications. While there is some hidden Java JNI code in the background the idea is to abstract this detail away from the developer. Native Activity applications are popular for gaming (e.g. Unreal 4) and graphic intensive (OpenGL) applications. This post will guide you through the experience of creating a Native Activit...
GoingNative 32: C++17 Sneak Preview
From Sneak Preview of C++17 Channel9:Join us with ISO Committee member (and Microsoft as well, of course =P) Gabriel Dos Reis, who graciously took the time to give us the inside scoop of some things that made it into C++17, as well as things that got taken out. All this is fresh off the press of the most recent C++ Standards Meeting!If you have ideas for future Going Native episodes, let us know in the comments below.(And if you develop for iOS or Linux, please take our survey. We want to talk!)
iOS / Linux Cross-Platform C++ Survey
We want you to take another survey.Many of you continue to participate in our surveys and opt-in for one-on-one conversations about your development habits. Your feedback helps us better understand the peculiarities of cross-platform development and the challenges of specific platforms when it comes to C++.Again we return to you for help understanding the developer experience. This time, we want to learn more about your experiences developing for iOS and Linux platforms as part of a cross-platform effort that may or may not include Windows apps. If you have a few minutes, take the survey.The last question provide...
Native Memory Diagnostics in VS2015 Preview
In Visual Studio 2013 Update 2 and also in the earlier CTP releases of Visual Studio 2015, we released a memory diagnostic tool that allowed developers to take heap snapshots of their application and then examine the heap contents upon terminating their application. The initial release supported viewing managed and native objects in the heap, and an update in the first Visual Studio 2015 CTP added support for native type derivation and value inspection. While this tool was a good start in providing Visual Studio developers with an in-box memory profiler, it lacked the ability to easily examine heap conte...
Visual C++ Compiler on Rise4Fun
As you know, through CTPs and Preview releases, we have been trying to make the Visual C++ compiler bits available more frequently. In the same line, we have now decided to provide a view into the live development branch for the Visual C++ compiler through the website http://rise4fun.com/vcpp.This site allows you to compile simple code without the need to install Visual Studio. It can then be used to try the latest compiler features. Please do note that these are the latest bits and will go through more quality control eventually but this is an effort to provide an early look into what we are doing.In order...
C++11/14/17 Features In VS 2015 Preview
All about C++ Refactoring in Visual Studio 2015 Preview
Hello C++ World! Update (1/6/2015): Check out all these features in action -- as well as how they've been improved since Preview -- in this video! With Wednesday's release of Visual Studio 2015 Preview, we are pleased to present you with new and improved coding productivity features, not the least of which is (finally) Refactoring for C++! Special thanks goes out to you folks who tried out the Visual Studio "14" CTPs and left us feedback; we tried to incorporate as many suggestions as we could in time for Preview, and we will continue to polish the features! I wanted to take some time to call out the refa...
Visual Studio 2015 Preview is Now Available
Today with the Visual Studio 2015 Preview, one of the big things we've done is improved the C++ experience, adding support for targeting Android, boosting runtime and build-time performance, improving standards compliance, and improving the editor experience. The Preview is available here for download and as a VM that you can run in Azure (if you're an MSDN subscriber, you get 150 hours of Azure for free).Let's go deeper on what's in the release! In Visual Studio 2015 Preview, you will be able to target Windows 8.1 Phone and Store along with Windows 8.0 Phone development. See C++ Tools Acquisition for Window...