Restart Manager in MFC

One of the new features available in MFC in the Visual Studio 2010 CTP is the Restart Manager. This was introduced with Windows Vista to offer support for restarting application when a crash occurs or when an automatic update needs to close and then restart an application. When you create a new MFC project in … Read more

C++ static_assert, a niche feature

The new C++ standard defines a new keyword, static_assert, that is already available in Visual Studio 2010 CTP. This new feature allows introducing compile time asserts. It takes an expression that can evaluate to bool and a string. If the expression evaluates to false, the compiler issues an error with the given string literal. If … Read more

Lambdas in C++

The new C++0x standard adds lambda expressions to the language. Visual Studio 2010 CTP is already supporting this new feature that brings functional techniques to C++ too. What is a lambda expression? It’s basically a function. In F# it’s an anonymous function, in C# it’s an anonymous delegate; in C++ it’s in fact an anonymous … Read more

Type inference in C++

The new C++0x standard provides support for type inference. The auto keyword that was doing nothing in C++ was given a new meaning: a placeholder for a type inferred by the compiler. For those familiar with C#’s var keyword, this is basically the same. Here is a comparison between auto in C++ and var in … Read more

New Things in C# 4.0

A few days ago Anders Hejlsberg delivered a presentation about the Future of C# at the Professional Developers Conveference 2008. He focused on the new things that will be available in C# 4.0: dynamic typed objects optional and named parameters improved COM interoperability co- and contra-variance The recording of the presentation is available on Channel9 … Read more

Visual Studio 2010 & .NET 4.0 CTP released

Microsoft has recently released the first Community Technology preview for Visual Studio 2010 and .NET Framework 4.0. Here is a list of new things in VC++, from the VC++ team’s blog: MSBuild Support for Visual C++ IntelliSense and Browsing Experience Improved Responsiveness and Scale Improved Accuracy and Robustness C++0x Features Lambda Expressions Rvalue References static_assert … Read more

Google Chrome Beta

According to the official Google Blog, Google is set to release today a beta version of a new web browser, called Chrome. They say that: Like the classic Google homepage, Google Chrome is clean and fast. It gets out of your way and gets you where you want to go. There is a comic book … Read more