C++ Team Blog

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

Making an Exception

(image) 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?” ...
Comments are closed.0 0
C++

Unit-Testing Native C++ with Visual Studio

(image) 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 ...
Comments are closed.0 0
C++

Staying Current with Visual C++ 2010

(image) 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 ...
Comments are closed.0 0
C++

Issues with F1-Help in C++ Projects

(image) 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 ...
Comments are closed.0 0
C++

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

(image) 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 ...
Comments are closed.0 0
C++

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

(image)  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...
Comments are closed.0 0
C++

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:http://ecn.channel9.msdn.com/o9/ch9/bdef/183a9795-09f1-...
Comments are closed.0 0
C++

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 &...
Comments are closed.0 0
C++

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 ...
Comments are closed.0 0
C++

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 interface. Below is a screenshot...
Comments are closed.0 0
C++