[PD] pd external c++ example