check cpp