C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
What's inside a PDB File?
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...
Your Version Control Experiences
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
Top 10 reasons to use Visual Studio for C++ Android Development!
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...
VS 2015 Update 2’s STL is C++17-so-far Feature Complete
VS 2015 Update 2's STL is C++17-so-far Feature Complete
Clang with Microsoft CodeGen (January 2016) released
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 ...
Visual Studio 2015 Update 1: New Experimental Feature – MPX
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...
Top Posts for 2015
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!
Support for Android CMake projects in Visual Studio
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 ...