c++出现可能core的地方增加try{};

try {
    xxx core;
  }
catch (std::exception & e) { 
  printf("error is %s\n", e.what());
}
posted @ 2023-05-10 21:06  花花公子1234  阅读(87)  评论(0)    收藏  举报