08 2023 档案

摘要:// 返回类型为 int ,正常执行代码就会没有返回值,引起段错误 int test(int **a) // 错误,引起段错误,且没有打印输出信息。 { try { *a = new int[10]; } catch (const char *msg) { fprintf(stderr, "%s", 阅读全文
posted @ 2023-08-17 17:09 ooouli 阅读(8) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示