My C++ example