Updated C++ example project.