update cpp examples 10.0