Added cpp samples