Making an Exception

An interesting debate about C++ exceptions took place a few weeks ago in the C++ MVPs discussion list. The trigger was something as innocent and specific as “would you guys just throw std::runtime_exception with some error message string or you define a new exception hierarchy? What’s your opinion on AtlThrow/AtlThrowLastWin32?” But as it typically happens,… Read more

Unit-Testing Native C++ with Visual Studio

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… Read more

Staying Current with Visual C++ 2010

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…. Read more

Issues with F1-Help in C++ Projects

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… Read more

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

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… Read more

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

 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… Read more

Microsoft Tells What’s Next for C++

 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:] [Can’t see the video player in this page? Try Channel9]   The… Read more

Regular Expressions – Video Introduction to the STL, Part 8

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… Read more

Video Introduction to the STL, Parts 6 and 7

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,… Read more

More Hilo – Sharing Photos with Hilo

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… Read more