C++ example (no changes, apart from poking the precompiled headers).