added note to cpp example