In C++, 0 is an abused integer. It is used to reflect, well, 0 as a value of type int and it is also used to represent a null pointer... The latter has led to many bugs and confusion over the past 30 years. Put simply, using 0 is and has always been a bad
idea (then there's the…
Today, Microsoft announced the details of an out-of-band security update that impacts ATL components and controls (like ActiveX controls, for example) -> Developers
who have built controls using vulnerable versions of ATL should take immediate action to review and identify any…
In this interview, programming writer Thomas Petchel demonstrates how to use Lambda Expressions in C++. You can also learn more in the topic: Lambda Expressions
Visual Studio User Education
Asynchronous Agents Library (or just Agents Library) provides a programming model that enables you to increase the robustness of concurrency-enabled application development. The Agents Library is a C++ template library that promotes an actor-based programming
model and in-process…
The C++ Concurrency Runtime is new with Visual Studio 2010 and currently in beta. The runtime encapsulates and extends many new operating system features including NUMA resource locality and User-Mode-Scheduling.
The Parallel Patterns Library (PPL) provides an imperative…
Microsoft Research recently announced the availability, under
Academic Licensing, of
Dryad, an infrastructure which allows a programmer to use the resources of a computer cluster or a data center for running data-parallel programs.
A Dryad programmer can use thousands of machines, each of…
Bogdan Mihalcea is a developer on the VC++ build and project system team. He and team have been very busy rewriting the VC++ build system in order to take advantage of MSBuild, which is Visual Studio's build system. MSBuild is completely transparent with
SafeInt is a C++ header containing the SafeInt class, non-throwing functions to check common operations, and the associated internal mechanisms. SafeInt is currently
used extensively throughout Microsoft, with substantial adoption within Office and Windows. David LeBlanc is a…
Rafael Ontivero, MVP de C++, nos da unos ejemplos usando el C++ MFC Feature pack.
Crear una aplicación usando el Ribbon de Office y otra con el de Visual Studio… ver su estructura, código y cómo funciona.
the C++ Team Blog: A lot of code written in C and C++ has vulnerabilities that leave their users open to buffer overrun attacks. There are two major reasons for this. One reason is that the languages provide unfettered access to the vulnerable memory;
the other reason is…