Cpp example.