added verbose=TRUE to c++ example