C++ Team Blog

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

Latest posts

Feb 18, 2014
Post comments count 0
Post likes count 0

Winter ISO C++ Meeting Trip Report

Eric Battalio

Herb Sutter posted highlights from the Winter ISO C++ meeting held last week in sunny Issaquah, WA:The major work of this meeting was to complete processing of the national body comments received in last summer's comment ballot for the upcoming C++14 standard. We also began comment processing for the recent corresponding ballot for the File System Technical Specification (TS).Were your favorite changes approved?

Feb 14, 2014
Post comments count 0
Post likes count 0

The Old New C++ Thing

Eric Battalio

I've spent many hours reading articles on Raymond Chen's blog, The Old New Thing. It is one of the most popular blogs on MSDN with content ranging from concerts at the Seattle Symphony to Win32 and marriage and native programming. Included are a number of interesting articles with, on or about C++.Here is a small, curated selection: The comments are often as entertaining (and informative) as the article, so don't forget to scroll down and read them.

Feb 11, 2014
Post comments count 0
Post likes count 0

Ghost of VCBlog Posts Past

Eric Battalio

You don't need to call Ghostbusters. Spend some time (re)reading some great posts from the Visual C++ team blog past. There really are some hidden gems in there! Did your favorite post make this list? If not, share it with us in the comments or recommend new content.

Feb 7, 2014
Post comments count 0
Post likes count 0

Advanced Developers Conference 2014

Eric Battalio

The Advanced Developers Conference 2014 takes place April 29-30 in Munich. This years sessions will be about modern device apps, debugging, drivers, graphics,cloud services and much more.The conference will host about 200 attendees with a broad range of international speakers including one or two from Microsoft. It is a great conference for developers, especially C++ developers.They are still looking for speakers , if you are interested, please drop a line to Ulrike Selbach.

Feb 4, 2014
Post comments count 0
Post likes count 0

Challenge – Vulnerable Code

Eric Battalio

This challenge appeared on an internal alias dedicated to C++. It was issued by Mike Vine, a developer here at Microsoft who agreed to let us share it with the mighty Visual C++ blog readers: This challenge came from me thinking about a simple bug which could be turned into a security vulnerability, so I thought I'd give it a go and try to code a plausibly deniable piece of code which looks innocent but is actually dangerous. I managed to actually go further than that, and produced something, that whilst unlikely, could possibly have come from non-malicious but sloppy coding. So your challenge is – if you c...

Feb 4, 2014
Post comments count 0
Post likes count 0

Challenge – Vulnerable Code

Eric Battalio

This challenge appeared on an internal alias dedicated to C++. It was issued by Mike Vine, a developer here at Microsoft who agreed to let us share it with the mighty Visual C++ blog readers: This challenge came from me thinking about a simple bug which could be turned into a security vulnerability, so I thought I'd give it a go and try to code a plausibly deniable piece of code which looks innocent but is actually dangerous. I managed to actually go further than that, and produced something, that whilst unlikely, could possibly have come from non-malicious but sloppy coding. So your challenge is – if you c...

Jan 30, 2014
Post comments count 0
Post likes count 0

Windows Azure Storage Client Library for C++

Eric Battalio

The Windows Azure Storage team has announced the availability of a new Windows Azure Storage Client Library for C++. This is a preview release and they are looking for your feedback. This release includes support for blob, table, and queue storage abstractions and provides additional functionality such as retry logic, authentication, logging, and more.See the Windows Azure Storage blog for details and download information, http://blogs.msdn.com/b/windowsazurestorage/archive/2013/12/20/windows-azure-storage-client-library-for-cplusplus-preview.aspx.You can also grab the Source (GitHub) and Binaries (NuGet).

Jan 28, 2014
Post comments count 0
Post likes count 0

C++ in MSDN Magazine

Eric Battalio

Just in case you have forgotten to look at MSDN Magazine in the last few months, here are a few great articles from MVPs, Microsoft folks and other experts: All of the articles include sample code and often larger sample projects.Are these articles helpful? Let us know in the comments or email me at ebattali@microsoft.com.

Jan 23, 2014
Post comments count 0
Post likes count 0

Examining stack traces of objects using Visual Studio 2013

Eric Battalio

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 chore. The most obvious technique, setting a breakpoint at the object's constructor, can become cumbersome when you have a large number of objects of the same type being created, only one of which, has a problem. Here, we will explore an alternative approach where, by adding...