cpp to cpp comparison