cpp setting