C++ Team Blog

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

Latest posts

Aug 6, 2015
Post comments count 0
Post likes count 0

New in VS 2015: /Zc:throwingNew

Terry Mahaffey

The C++  Standard defines operator new as failing by throwing an exception – not returning null. And indeed, this is the behavior in VC++, and has been for a number of releases. But it hasn’t always been this way. Back in Visual Studio 6.0, the compiler returned null on an allocation failure. Starting in VS 2002 we switched over to throwing an exception as required, but provided a mechanism (nothrownew.obj) to support the old null-returning behavior. Why does this matter today? Well, ever since 2002, the compiler has had to guard against the potential of a null returned by operator new. So, in VS...

Aug 5, 2015
Post comments count 0
Post likes count 0

Introducing Visual Studio’s Eclipse Android Project Importer

Marian Luparu

Hello everyone! I am Stephanie Su, a Program Manager Intern from the Georgia Institute of Technology.  The project that I have been working on this summer with Brett Gutstein, a Software Engineer Intern from Rice University, is now available on VS Gallery! The Eclipse Android Project Import extension is available for download for Visual Studio 2015 users.  The goal of this extension is to streamline the process of migrating your existing Android projects to Visual Studio.  Check out the demo video to see it in action.  This is a pre-release feature so we would love for you to try it out and leave us some feed...

Jul 30, 2015
Post comments count 0
Post likes count 0

Cross-platform code sharing with Visual C++

Marian Luparu

With Visual Studio 2015, Visual C++ supports three new platforms: Universal Windows Platform (just announced), Android and iOS (more info). This is in addition to its continued support for Desktop, Windows Store and Windows Phone. During the bring-up of these new platforms, a key requirement for our team was to make sure that Visual C++ provides an easy way to reuse code across all these platforms. This post goes through the improvements we made in Visual Studio 2015 to streamline the reuse and code sharing throughout the edit-build-debug cycle for C++ developers. Today we’re also making available through...

Jul 29, 2015
Post comments count 0
Post likes count 0

Developing for Windows 10 with Visual C++ 2015

Adam Welch (MSFT)

Getting Started Windows 10 introduces the new Universal Windows App platform, which allows a single codebase to be reused across multiple Windows 10 devices.  An earlier blog post described the pre-release process of getting setup and some of the new features available in Universal Windows Apps.  Now that Windows 10 RTM has released, the following steps will help you get your machine set up to develop Windows 10 apps using Visual Studio 2015 RTM.   Project Properties for Selecting the SDK Version in Store Apps A couple new concepts have been introduced to the VC++ project system ...

Jul 27, 2015
Post comments count 0
Post likes count 0

Working on an Internet of Things Project? Take Our Survey!

Eric Battalio

Survey!The Visual C++ team wants to learn more about how developers create Internet of Things devices and applications. If you are currently or have recently been part of an IoT project and can spare around 15 minutes, please take our survey and share your experiences. It does not matter which tools you use; if you work on IoT projects, we want to hear from you!If you do take the survey, you can opt-in to share more details with the team. We would love to chat with you so consider opting in!Thanks!Eric and Marc

Jul 24, 2015
Post comments count 0
Post likes count 0

Setup Changes in Visual Studio 2015 Affecting C++ Developers

Eric Battalio

As mentioned in the Visual Studio 2015 IDE blog post, the setup experience of the product now provides more control to the user, for what does and doesn’t get installed.  That blog post also talks about the rationale for this change and future direction for Visual Studio install experience.  C++ is one of the features which is available as an optional install (not on by default).  This ensures that non-C++ developers don’t have to pay the setup time and disk-space price for installing C++ bits that they don’t need. At the same time, C++ developers can still get the pieces they nee...

Jul 22, 2015
Post comments count 0
Post likes count 0

C++ Edit and Continue in Visual Studio 2015

Visual CPP Team

We previously announced that we were working on support for Edit and Continue for both x86 and x64 in the default debug engine in Visual Studio 2015. Today we’re pleased to announce that Edit and Continue (EnC) is enabled by default in Visual Studio 2015 RTM. As a quick reminder, EnC enables you to make changes to your code when you’re stopped in the debugger, and have those changes applied when you continue execution without the need to stop debugging, recompile and run the application back to that location. In Visual Studio 2015 we’ve made great progress on satisfying this top customer reques...

Jul 20, 2015
Post comments count 0
Post likes count 0

What’s new with Visual C++ cross-platform mobile development

Ankit Asthana

With Visual Studio 2015 RTM we continue to improve the cross-platform mobile development story. Visual Studio 2015 RTM introduces the following new feature set aimed at improving the edit->build->debug cycle for mobile developers.                         We would love you folks to try out news features made available and thank you for your continued (and spirited) feedback (remember to use Send-A-Smile/Frown with #cpp2015!)

Jul 20, 2015
Post comments count 0
Post likes count 0

Source now available for GDB/LLDB debug engine

Visual CPP Team

We previously announced that we’d be releasing the source code for our debug engine that works with GDB and LLDB for C++ on Android and on iOS. Today, we’re pleased to announce that the source is now available on GitHub as the “MIEngine” project. As a quick refresher, GDB is the GNU project debugger that enables you to debug applications written in C, C++, Objective C, and Pascal (to name a few) running on many platforms including UNIX-based operating systems. LLDB is the debugger from the LLVM project that is the default debugger on Mac OS X and iOS for C, Objective C, and C++, and includ...