d/z in cpp