Added C++ code generation example