C++ Team Blog

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

Latest posts

Apr 12, 2012
Post comments count 0
Post likes count 0

Early Bird registration for C++ Now! ends Sunday

Diego Dagum - MSFT

(A message on behalf of the C++ Now! staff)   This year’s program is very exciting with lots more content than previous years. This year we’ll have three keynotes: Howard Hinnant, Sean Parent, and David Vandevoorde. They are headlining three tracks of over fifty sessions including one track of C++11 sessions. With almost a full week of C++11 tutorials, we are offering more C++11 coverage than any other conference this year. Please join us for what promises to be one of the best BoostCons ever!  Visit http://cppnow.org/ to register today.

Apr 6, 2012
Post comments count 0
Post likes count 0

What Are SCARY Iterators?

Diego Dagum - MSFT

Hi there! I’m Diego Dagum, a Program Manager with the Visual C++ team. As Stephan announced last September when Visual Studio 11 Developer Preview was released, our STL implementation comes with SCARY iterators. On Stephan’s words, ”(…) as permitted but not required by the C++11 Standard, SCARY iterators have been implemented, as described by N2911 "Minimizing Dependencies within Generic Classes for Faster and Smaller Programs" and N2980 "SCARY Iterator Assignment and Initialization, Revision 1”. What are they useful for? What are they, in the first place? What’s so...

Mar 27, 2012
Post comments count 0
Post likes count 0

Auto-Vectorization on Channel9

Visual CPP Team

Jim Radigan and I recorded a session for Channel9 last week, as part of the “Going Native” series.  We describe the “auto-vectorizer” – a neat feature in the VS11 compiler backend that analyses loops, in regular, unmodified C++ code, and generates corresponding vector (SIMD) instructions: tight loops using float or int can run up to 4x faster.  The video has just “gone live” at:https://channel9.msdn.com/Shows/C9-GoingNative/GoingNative-7-VC11-Auto-Vectorizer-C-NOW-LangNEXT

Mar 25, 2012
Post comments count 0
Post likes count 0

Using the Windows Software Development Kit (SDK) for Windows 8 Consumer Preview with Visual Studio 2010

Visual CPP Team

Now that the Windows Software Development Kit (SDK) for Windows 8 Consumer Preview has been released, I would like to show you how you can use the Windows 8 SDK with Visual Studio 10.     -          In “Executable Directories” replace $(WindowsSdkDir)bin with $(ProgramFiles)\Windows Kits\8.0\bin\x86 -          In “Include Directories” add $(ProgramFiles)\Windows Kits\8.0\Include\um;$(ProgramFiles)\Windows Kits\8.0\Include\shared at the beginning and remove $(WindowsSdkDir)include -&...

Mar 16, 2012
Post comments count 0
Post likes count 0

VC11 ISO C++ Concurrency Tour in March Issue of MSDN Mag

Diego Dagum - MSFT

Greetings!! I am Diego Dagum, Community Program Manager with the Visual C++ team. I recently got an article published in the current issue of MSDN Magazine about the ISO C++11 concurrency features implemented in Visual C++ 11.     It’s a 101-level journey through standardized features like: [Read “New Standard Concurrency Features in Visual C++ 11” at the MSDN Magazine website]   If you want to dig further in these items, I recommend the video tutorial that my friend Bartosz Milewski is posting in the Corensic website. He covers advanced concepts like ...

Mar 13, 2012
Post comments count 0
Post likes count 0

Setting WINVER for MFC Applications

Visual CPP Team

Hello, I’m Pat Brenner, a developer on the Visual C++ Libraries team, and I am the primary developer working on MFC. I’ve realized over the course of the past several years that a number of developers (especially those using ATL and/or MFC) can be confused about the proper usage and setting of the WINVER #define (and/or the corresponding _WINNT_WIN32 and NTDDI_VERSION #defines). This setting is especially important when building an application that supports multiple Windows platforms, as MFC itself does. So I would like to suggest a best practice for how these #defines should be set when building an MFC applic...

Mar 9, 2012
Post comments count 0
Post likes count 0

What’s New in Code Analysis for Visual Studio 11

Visual CPP Team

 The Code Analysis team has just posted an article on the latest improvements in Visual Studio 11. If you are a C++ developer (we guess you are as you are reading this blog), it’s worth taking a look. [Read the article here]

Mar 5, 2012
Post comments count 0
Post likes count 0

What’s up with MFC in Visual Studio 2011 Beta

Visual CPP Team

Hello, I’m Pat Brenner, a developer on the Visual C++ Libraries team. Through this blog post I wanted to share some information about the Microsoft Foundation Class (MFC) Library, since I am the primary developer working on MFC. As you know, MFC is an important technology component which has been extensively used over the years by C++ developers to build desktop applications for Windows. In every product release, we make enhancements to the library, whether it is taking advantage of features in newer versions of the Windows operating system or adding fixes for common developer issues. With the recent release o...

Feb 29, 2012
Post comments count 0
Post likes count 0

What's New in Visual Studio 11 Beta for C++ Developers

Visual CPP Team

  Snippets of the Metro style version for the most popular 101 application.       Download this Beta today:       As Jason Zander –CVP of Visual Studio- just confirmed, a Visual Studio 11 Beta was released earlier today. What can C++ developers expect from this new version compared to Visual Studio 2010? Here's a summary:   For further information, these MSDN Library article dives deeper in these new features for Visual C++ developers.     Links of interest: