client cpp