C++ Team Blog

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

Examining stack traces of objects using Visual Studio 2013

It is quite common to have a program stopped in the debugger due to a crash or assertion caused by an object being in a bad state, and to track down the problem, you need to figure out how it got that way. In many cases, the call stack of the object's creation can provide valuable clues, but trying to get that call stack can be a significant ...

STL Resources on MSDN

Before reviewing the excellent standard template library resources on MSDN (including Channel 9), did you know Visual Studio 2013.1 (Update 1) is available now? Brian Harry writes about the release on his blog, mentioning that the release is smaller and focused on working better with IE versions prior to IE 10. It is worth a read. You can grab...

Exception Boundaries

In modern C++, exceptions are the preferred method of runtime error reporting and handling. Yes, there are some cases where other forms of error reporting may be more appropriate—error codes, for example—but generally exceptions are preferred. When building a brand new library or application using C++, it's best to write exception-...

Creating a C++ Project from a PDB file: PDB Project [[Version 2.0]]

We are thrilled to announce version 2.0 of the PDB Project extension on the Visual Studio Gallery. PDB Project, as the name suggests, takes the information contained in a .pdb file to create a C++ project. The Information extracted from the .pdb includes both the source files (.c, .cpp) used for building, as well as the sources of the linked ...

Kinect for Windows C++ Samples

Kinect for Windows enables developers like you to create applications that allow users to interact naturally with the computer by gesturing and speaking. You probably already know this. But did you know there are plenty of samples written in C++ using Direct 3D and Direct 2D and other DirectX stuff? Grab a Kinect and the Kinect SDK and ...

Code Debugging Content in Community

A few days ago, we called out some of the great debugging topics on the Microsoft Developer Network (MSDN) Library. Here are some excellent resources outside of the MSDN Library (in no particular order except the last one): If you know of additional resources, add them to the comments (or send them to me, ebattali@microsoft....

Code Debugging Topics on MSDN

The MSDN Library is a rich source of information about Microsoft products and technologies including Visual Studio and Visual C++. This post calls out some of the great code debugging topics available for Visual C++ native code developers.The best starting point for (re)visiting debugging topics is the Debugger Roadmap. It contains links to ...

Weathr, a 3D Weather App now on CodePlex

Welcome to 2014. May all your C++ code run perfectly! Thomas Petchel wanted really to explore the intersection among C++, DirectX, and XAML in the context of a Windows Store app. The result? Weathr, a 3D weather app for windows 8.1. (image) It is a smooth, responsive app that shows weather information for different locations. To run it, ...