C++ Team Blog

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

C9 Lecture: C Runtime (CRT) Topics, by Mahmoud Saleh

In a recent Going Native episode in Channel 9, Charles (Torre) and I interviewed Mahmoud Saleh, the software engineer who keeps the C Runtime library. Now Mahmoud prepared for you a 1-hour lecture on some of the CRT topics like [Watch this Channel 9 lecture] (image...

Exception Boundaries: Working With Multiple Error Handling Mechanisms

(image) Greetings! I'm David Blaikie, Software Design Engineer at Microsoft and guest blogger here on VCBlog. I work in the Windows product group, writing test infrastructure tools in C++. One of the luxuries of the codebases I work in is that they are relatively modern and flexible. We use the full gamut of C++0x features implemented in...

Making an Exception

(image) An interesting debate about C++ exceptions took place a few weeks ago in the C++ MVPs discussion list. The trigger was something as innocent and specific as “would you guys just throw std::runtime_exception with some error message string or you define a new exception hierarchy? What’s your opinion on AtlThrow/AtlThrowLastWin32?” ...