c++ try