C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
Auto-Vectorization on Channel9
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
Using the Windows Software Development Kit (SDK) for Windows 8 Consumer Preview with Visual Studio 2010
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 -&...
VC11 ISO C++ Concurrency Tour in March Issue of MSDN Mag
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 ...
Setting WINVER for MFC Applications
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...
What’s New in Code Analysis for Visual Studio 11
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]
What’s up with MFC in Visual Studio 2011 Beta
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...
What's New in Visual Studio 11 Beta for C++ Developers
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:
C++ Precon at Tech Ed 2012 – Orlando and Amsterdam
At both Tech Ed North America 2012 (June 11th-14th) and Tech Ed Europe 2012 (June 26th-29th) there will be a C++ all day preconference! The title is C++ in 2012: Modern, Readable, Safe, Fast. Our C++ MVP Kate Gregory will deliver it and here's the abstract: C++ is gaining momentum as a development language, so whether you’ve never used C++ or stopped using it a decade ago, it may be time to brush up on your skills. With a new standard release providing new keywords and capabilities, C++ is a featured language for many of the new Microsoft technologies and enables some amazing speed-ups of your appli...
Help Us Make Improvements
The Microsoft Visual Studio Design Research Team is looking for developers to give us direct feedback on our development tools, languages and libraries! Opportunities include usability studies of upcoming features, focus groups where we explore new ideas, as well as 1:1 interviews.Is this just about Visual Studio users?You do NOT need to be a Visual Studio user! We are looking for all kinds of developers using a variety of tools and technologies.What do participants get out of it?Because we do many studies across all of our development tools, we always try to match participants’ skill sets to the area we ar...