Adding example c++ example