cpp case study