gpt4 book ai didi

c++ - 为什么 perror 在错误处理代码中没有广泛出现是有原因的?

转载 作者:太空狗 更新时间:2023-10-29 15:18:03 26 4
gpt4 key购买 nike

<分区>

查看 stackoverflow 或其他地方的代码,我似乎很少看到 perror() 被用来报告错误的确切性质。 printf 更为常见。这是否表明 perror 有问题或缺失?鉴于它提供了更好的信息,我预计它会被更频繁地使用。

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com