C++ Team Blog

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

Latest posts

Dec 21, 2010
Post comments count 0
Post likes count 0

Unit-Testing Native C++ with Visual Studio

Visual CPP Team

Hi there! I’m John Socha-Leialoha and I’m a big fan of TDD. When I asked around about writing C++ tests, I was told there isn’t any support for C++ unit tests in Visual C++. Not true. Check this blog post where I tell you what’s required in order to write unit test for native C++ code using Visual Studio. [Go to John’s full article…]

Dec 20, 2010
Post comments count 0
Post likes count 0

Staying Current with Visual C++ 2010

Visual CPP Team

A few weeks ago, the 2010 Edition of TechEd Europe took place in Berlin, Germany. C++ MVP Kate Gregory (picture) delivered a session where she shows through demos the latest achievements in the C++arena, especially regarding the upcoming C++0x version of language (scheduled by 2011), its libraries, concurrency and related IDE improvements for all those. If you have been already working with all these, it may seem at a first glance that this session won’t add much value to what you already knew. However, what makes this session in particular more interesting is the fact that Kate doesn’t just enunciat...

Dec 15, 2010
Post comments count 0
Post likes count 0

Issues with F1-Help in C++ Projects

Visual CPP Team

Hi! My name is Ulzii Luvsanbat and I’m a Senior Test Lead with the Visual C++ team. Diego told me about some feedback received in a recent post regarding the accuracy and usefulness of the F1-Help command when working on C++ projects. First of all, I want to start by thanking all of you guys for your feedback on F1 Help experiences in C++.  We really appreciate you taking the time to share your thoughts and we apologize for any issues you’re seeing.  We have made lots of improvements in VS2010 around F1 Help specifically for C++ from updating content topics with more specialized tags, i...

Dec 14, 2010
Post comments count 0
Post likes count 0

“Off By Default” Compiler Warnings in Visual C++

Visual CPP Team

Greetings! My name is Jon Sturgeon; I’m a developer in the Forefront team here at Microsoft. I’m happy to be able to contribute to the Visual C++ Team Blog as a “guest blogger”. One of my passions when writing C++ code has always been to use as many techniques as possible to find bugs earlier and earlier in the development process; obviously the earlier that bugs are found the easier and cheaper they generally are to fix. And if they can be found and corrected before the code is even built, everybody wins.   Compiler Warning Levels I’m assuming that everybody is familiar with the compiler warning leve...

Dec 9, 2010
Post comments count 0
Post likes count 0

VS2010 SP1 Beta: What’s in It for C++ Developers

Visual CPP Team

 As announced two  days ago by S. Somasegar and Jason Zander, the Visual Studio 2010 Service Pack 1 Beta is now ready for download! Service Pack 1 Beta comes with a “go live” license which means you can start using the product for production related work (see the license agreement with the product for more details). With this service pack we’re not only addressing product issues but also improving our underlying libraries and toolset. Specifically we’re enabling the following: Your feedback on this release will help us improve the final release.  Please report any issu...

Dec 5, 2010
Post comments count 0
Post likes count 0

Microsoft Tells What's Next for C++

Visual CPP Team

 By chance,  are you among those who think that Microsoft is leaving native development in general and the C++ programming language in particular behind? You better watch this interview to Ale Contenti, Principal Development Manager with the Windows C++ team at Microsoft. [View:http://ecn.channel9.msdn.com/o9/ch9/bdef/183a9795-09f1-48e5-adcc-9e3100cdbdef/MicrosoftCommitmentToNativeDevelopment_2MB_ch9.wmv] [Can't see the video player in this page? Try Channel9]   The interview was made by Christian Binder, Platform Strategy Manager with Microsoft Germany and Development Practices track ow...

Nov 18, 2010
Post comments count 0
Post likes count 0

Regular Expressions – Video Introduction to the STL, Part 8

Visual CPP Team

C++0x's <regex> header combines Perl's regular expressions with C++'s templates and iterators.  The result, like the rest of the STL, is insanely powerful but potentially overwhelming at first sight.  It's actually easy to use, and much easier than writing string processing code by hand.  I demonstrate how to start using <regex> in Part 8 of my video lecture series introducing the Standard Template Library.   Previous parts:   Part 1 (sequence containers) Part 2 (associative containers) Part 3 (smart pointers) Part 4 (Nurikabe solver) - see Wikipedia's article and my updated ...

Oct 25, 2010
Post comments count 0
Post likes count 0

Video Introduction to the STL, Parts 6 and 7

Visual CPP Team

Part 6 and Part 7 of my video lecture series introducing the Standard Template Library are now available; they cover algorithms and functors. Previous parts:  Part 1 (sequence containers)Part 2 (associative containers)Part 3 (smart pointers)Part 4 (Nurikabe solver introduction)Part 5 (Nurikabe solver conclusion) My Nurikabe solver, available here, demonstrates how I use the STL components that I've talked about.  I've continued to optimize it; there's more work to do, but I've already obtained dramatic speedups:  Here's the changelog: 1.0 (8/24/2010) - First version, appearing ...

Sep 27, 2010
Post comments count 0
Post likes count 0

More Hilo – Sharing Photos with Hilo

Visual CPP Team

Hilo is back. Keeping our promise of delivering more Windows 7 developer fun, we bring you the third installment of the Hilo series. We continue building on the first two applications (covered in Chapters 1 thru 11 on this link). This time we have added features to share photos online and a much improved user interface. Below is a screenshot: These set of applications illustrate how to take advantage of the following Windows functionalities: You can download the source code for this application from the Hilo Code Gallery Page. The article introducing the above updates can be found here. ...