Add C++ example.