removed cpp example for pointers