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

花花公子1234 / 2023-05-11 / 原文

try {
    xxx core;
  }
catch (std::exception & e) { 
  printf("error is %s\n", e.what());
}