C++ Team Blog

C++ tutorials, C and C++ news, and information about Visual Studio, Visual Studio Code, and Vcpkg from the Microsoft C++ team.

C++ Renaissance: First Symptoms of Contagion in Traditionally Non-Native Teams

You may already know Pete Brown but if you don’t, I’ll briefly introduce him here: he’s, like me, a Community Program Manager with Microsoft but while I’m focused on C/C++ languages and the Visual C++ tool, he’s devoted to client-side development technologies (mainly WPF and Silverlight, with some Windows Phone 7 and XNA, a bit less ...
Comments are closed.0 0
C++

Can Touch This: Developer Guidance for Touch-Enabled Applications

Those who, beside this blog, read Windows Developer resources, may have noticed that at the beginning of this month that sibling team released a “Windows 7 Touch Application Development Guidance”. This guidance is purposed to make you learn about: This is ideal for software developers who want to take full advantage ...
Comments are closed.0 0
C++

MFC Application Instance Control

An interesting question, asked days ago in one of our C++ forums, was the following: A possible approach, based in mutex (mutual exclusion) objects, was posted a few hours later. In the proposed schema you declare a mutex object inside the MFC application class (i.e. the class header): When you define the MFC application ...
Comments are closed.0 0
C++

shared_ptr – Advanced STL, Part 1

Part 1 of my video lecture series exploring the Standard Template Library's implementation is now available.  In this part, I explain how some of shared_ptr's magic works, including type erasure and make_shared<T>()'s optimizations that save both space and time. This advanced series assumes that you're familiar with C++ and the...
Comments are closed.0 0
C++

Go Ask printf() To Behave Predictably

This is one of those problems whose solution is very evident… or bitterly hard to guess depending on how much you were influenced by what you were told about it.I’ll paste here the case You will rapidly solve it… or not! It will actually depend on what it impressed you the most about the symptoms...
Comments are closed.0 0
C++

C++ Renaissance: a Channel 9 Interview

If you don’t know Charles Torre, I’ll introduce him here: Charles is a BIG fan of C++ and he works for Channel 9 (in that order). Charles is the one to blame about the acclaimed series that Stephan put together about STL (beside Stephan himself). And Charles is encouraged to do more and more and more. So to put a beginning in an ...
Comments are closed.0 0
C++

The Visual C++ Weekly Vol. 1 Issue 6 (Feb 5, 2011)

For this week roundup, we start with a game that C++ MVP Marius Bancila code, inspired on his favorite phone game. You can download the code and study or just play it right away. We tell you how to validate, in Visual Studio 2010, C/C++ code against architecture layer diagrams in order to avoid cross-layer dependencies. C++ MVP PJ Naughter ...
Comments are closed.0 0
C++

Feedback usabilla icon