Qtcreator中printf()/fprintf()不显示问题处理方法
摘要:
【问题】 使用Qtcreator开发项目中,printf()的诊断信息,在“应用程序输出”窗口不显示。【解决方法】 添加语句:fflush( stdout);或者fflush(stderr);【原因分析】 标准输出( stdout)和标准错误输出(stderr)均有缓存,缓存达到一定程度后,方才输出 阅读全文
posted @ 2022-08-04 19:54 GoGrid 阅读(760) 评论(0) 推荐(0)
浙公网安备 33010602011771号