C++ Team Blog

C++ tutorials, C and C++ news, and information about Visual Studio, Visual Studio Code, and Vcpkg from the Microsoft C++ team.

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

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

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

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 for your feedback on F1 Help experiences ...
Comments are closed.0 0
C++

“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 and earlier in the development ...
Comments are closed.0 0
C++

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 details). With...
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++

Feedback usabilla icon