摘要: 一个值得注意的事情 最近在调试项目,发现一个意想不到的问题!程序会偶发性的产生coredump... 先看一下简单化代码: #include <iostream> using namespace std; const char *test1() { std::string str = "hello" 阅读全文
posted @ 2023-04-20 20:44 程序员没有头发 阅读(428) 评论(1) 推荐(0) 编辑