C++ Team Blog

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

Latest posts

Feb 8, 2016
Post comments count 0
Post likes count 0

What's inside a PDB File?

Jim Hogg

Background We have all used the Visual Studio Debugger to step through code, in the hunt for bugs.  For C or C++ code, that Debugger relies upon a file, with the extension ".pdb", called the "Program DataBase", or simply "the PDB".  The PDB is written by the Linker when you build your program; it contains line-number and symbols information. But what lies inside these PDBs, exactly? Most C/C++ developers need never worry about the answer.  But for those few, working on tools such compilers, linkers, analyzers and verifiers, knowing the details can be useful.  Especially where you want these tools to work within t...

Feb 1, 2016
Post comments count 0
Post likes count 0

Your Version Control Experiences

Eric Battalio

The Visual C++ Team team would like to learn more about your source code management experiences across development tools, languages (especially C/C++), target platforms and project types. Please take a few minutes (~10) to fill out our brief survey http://www.instant.ly/s/wJqxc.The last question is an opt-in to share more details of your experiences with the C++ team. We would love to learn more about how you deal with source code in your environment, so please opt-in if you can spare ~15-30 minutes.Thank you!Eric and the Visual C++ Team

Jan 25, 2016
Post comments count 0
Post likes count 0

Top 10 reasons to use Visual Studio for C++ Android Development!

Ankit Asthana

Visual Studio: C++ cross-platform mobile solution Visual Studio (download here) is fast becoming a cross-platform C++ IDE. Our vision is for Visual Studio to become the IDE of choice for your cross-platform C++ code whether you are targeting, Windows (UWP), Android, iOS, Linux, Xbox, PlayStation, Marmalade or more. In the past year or so, we have enabled support for Android, iOS (in preview) targeting, improved integration with the popular cross-platform game engine Marmalade, introduced a new compiler toolset (Clang/C2) for improving code portability between Windows and non-Windows plat...

Jan 22, 2016
Post comments count 0
Post likes count 0

VS 2015 Update 2’s STL is C++17-so-far Feature Complete

Stephan T. Lavavej - MSFT

Jan 22, 2016
Post comments count 0
Post likes count 0

VS 2015 Update 2's STL is C++17-so-far Feature Complete

Stephan T. Lavavej - MSFT

Jan 20, 2016
Post comments count 0
Post likes count 0

Clang with Microsoft CodeGen (January 2016) released

Andrew Pardoe

We have just released an out-of-band update of Clang/C2 toolset that brings in some of the community fixes as well as bugs found from testing. This is one of many rapid releases to come in the future, and issues reported from customers will be addressed progressively. Here we only list the changes since the previous release, for a more detailed discussion of the Clang/C2 toolset please read "Clang with Microsoft CodeGen in VS 2015 1". This update is still based on Clang 3.7 with some of the relevant community fixes cherry-picked (see below) and revises the version of C2.dll to 19.023413.0. Microsoft Fixes ...

Jan 20, 2016
Post comments count 0
Post likes count 0

Visual Studio 2015 Update 1: New Experimental Feature – MPX

Yuriy Solodkyy

Introduction This post is about Intel® Memory Protection Extensions (Intel® MPX) support in Microsoft Visual Studio* 2015; content provided by Gautham Beeraka, George Kuan, and Juan Rodriguez from Intel Corporation.    Overview Update 1 for Visual Studio 2015 was announced on November 30, 2015. This update includes experimental compiler and debugger support for Intel MPX.  Intel MPX can check all pointer reads and writes to ensure they remain within their declared memory bounds.  This technology can detect buffer overflows and stop program execution at runt...

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

Top Posts for 2015

Eric Battalio

With the end of 2015 nearing, we wanted to take a moment to thank each of you for your feedback, enthusiasm and continued support of C++ and Visual Studio. We hope your year was productive and that next year exceeds your expectations.And now, since end-of-year lists are vogue, here are the top posts (by views) for the Visual C++ Team Blog in 2015 (in no particular order): What was your favorite post? What would you like to see us do / talk about next year? Let us know in the comments below!

Dec 15, 2015
Post comments count 0
Post likes count 0

Support for Android CMake projects in Visual Studio

Ion Todirel

CMake is a cross-platform project generator that enables reuse of shared C++ code across multiple IDE and project systems. We made a change to CMake to support our Android toolchain in Visual Studio. With this change, you can take your existing CMake project targetting Android, and with minimal modifications, you can have it open in Visual Studio, and benefit from our rich IDE experience for Android. We have contributed to the Microsoft CMake open source github repository, and we are planning to work with Kitware to integrate those changes into the public CMake repository. But currently, this is what you have ...