C++ Team Blog

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

Latest posts

Developing Windows Applications in C++ (Articles Series)
Jul 25, 2011
Post comments count 0
Post likes count 0

Developing Windows Applications in C++ (Articles Series)

Visual CPP Team
Visual CPP Team

We got just published “Developing Windows Applications in C++”,  an article series created by C++ Most Valuable Professional Kate Gregory. This material is aimed at C++ developers who want to learn how to write Windows applications. It won’t teach you C++, or how to use Windows as an end user. But if you know C++ and Windows already, and want to write applications, this is the right spot. It’s divided into 6 chapters.  

Container Pretty Printer – Advanced STL, Part 6
Jul 11, 2011
Post comments count 0
Post likes count 0

Container Pretty Printer – Advanced STL, Part 6

Visual CPP Team
Visual CPP Team

In Part 6 of my second video lecture series focused on the Standard Template Library, I demonstrate how to write a "pretty printer" for STL containers that's capable of formatting a vector<tuple<int, string, int>> as [(1, "ten", 100), (2, "twenty", 200), (3, "thirty", 300)].  It's easy to use, with the default syntax being print(cout, container), or print_line(cout, container) to emit a newline.  It's also highly customizable with just a bit of extra code.  Following the Visual Studio IDE's visualizers, which display a container's size before its elements, I show how to provide a custom...

C++ Q&A with Herb Sutter
Jun 29, 2011
Post comments count 0
Post likes count 0

C++ Q&A with Herb Sutter

Visual CPP Team
Visual CPP Team

Herb's last appearance on C9 was a relatively short chat about C++0x. You wanted more questions so Herb decided that the best way to get the questions you want asked is, well, to have you ask them. Most of the highest user-rated questions were asked and Herb answers with his usual precision. So, without further ado, it's C++ question and answer time with the great Herb Sutter, powered by you.[Watch the entire interview in Channel 9]

Mohsen Agsen: C++ Today and Tomorrow
Jun 22, 2011
Post comments count 0
Post likes count 0

Mohsen Agsen: C++ Today and Tomorrow

Visual CPP Team
Visual CPP Team

For those who haven't seen it yet, Charles Torre interviewed again Mohsen Agsen, Microsoft Technical Fellow who runs the Visual C++ engineering team. Back in February Mohsen and Charles had had a first conversation, when they put forward the notion of a renaissance taking place in the native world. The reception to C++ Renaissance message has been great (and, in some sense, unexpected). Now that some time has passed, Charles visited Mohsen to continue their conversation. [Watch the full interview in Channel 9]

Daniel Moth: Blazing-fast Code Using GPUs and More, with C++ AMP
Jun 17, 2011
Post comments count 0
Post likes count 0

Daniel Moth: Blazing-fast Code Using GPUs and More, with C++ AMP

Visual CPP Team
Visual CPP Team

You have lastly read in this blog about the C++ Accelerated Massive Parallelism (C++ AMP) [1]. Since yesterday, those who couldn’t attend the AMD Fusion Developer Summit have the chance to watch on demand Herb Sutter’s keynote where C++ AMP was introduced and some demos were shown [2].Now Daniel Moth's C++ AMP introductory session is also posted in Channel9:[Watch Daniel Moth's "Blazing-fast code using GPUs and more, with C++ AMP"]  References

Update on Bulletin MS11-025
Jun 17, 2011
Post comments count 0
Post likes count 0

Update on Bulletin MS11-025

Visual CPP Team
Visual CPP Team

A while back Microsoft had released security bulletin MS11-025 that addressed a publicly disclosed vulnerability in certain applications built using the Microsoft Foundation Class (MFC) Library. The vulnerability could allow remote code execution if a user opens a legitimate file associated with such an affected application, and the file happened to be located in the same network folder as a specially crafted library file.Soon after the release, we discovered some issues with the bulletin some of which we talked about here. Microsoft has just issued an update to the bulletin that addresses the previously discusse...

Just Released: Kinect for Windows SDK Beta
Jun 16, 2011
Post comments count 0
Post likes count 0

Just Released: Kinect for Windows SDK Beta

Diego Dagum - MSFT
Diego Dagum - MSFT

Following the announcement made a day ago about C++ Accelerated Massive Parallelism (C++ AMP), now Microsoft Research released the Kinect for Windows SDK beta: a programming toolkit for application developers that enables the academic and enthusiast communities easy access to the capabilities offered by the Microsoft Kinect device connected to computers running the Windows 7 operating system. The Kinect for Windows SDK beta includes drivers, rich APIs for raw sensor streams and human motion tracking, installation documents, and resource materials. It provides Kinect capabilities to developers who build applica...

Herb Sutter: Heterogeneous Computing and C++ AMP (AFDS Keynote)
Jun 16, 2011
Post comments count 0
Post likes count 0

Herb Sutter: Heterogeneous Computing and C++ AMP (AFDS Keynote)

Diego Dagum - MSFT
Diego Dagum - MSFT

Herb Sutter, Principal Architect with the Visual C++ team, got his keynote posted in Channel 9. He tells more details in his blog.

Introducing C++ Accelerated Massive Parallelism (C++ AMP)
Jun 15, 2011
Post comments count 0
Post likes count 0

Introducing C++ Accelerated Massive Parallelism (C++ AMP)

Diego Dagum - MSFT
Diego Dagum - MSFT

A few months ago, Herb Sutter told about a keynote he was to delivered today in the AMD Fusion Developer Summit (happening these days). He said by then: “Parallelism is not just in full bloom, but increasingly in full variety. We know that getting full computational performance out of most machines—nearly all desktops and laptops, most game consoles, and the newest smartphones—already means harnessing local parallel hardware, mainly in the form of multicore CPU processing. (…) More and more, however, getting that full performance can also mean using gradually ever-more-heterogeneous ...