摘要: 当 printf() 后面紧跟 while(1) 时,printf的内容有时候能打印出来,有时候打印不出来 原因是,printf() 中的内容在缓冲区里,你得加上 ‘\n’ 或者使用 fflush(stdout) 才能让它打印出来。 答案来源:https://stackoverflow.com/qu 阅读全文
posted @ 2022-08-29 22:51 yinhuachen 阅读(50) 评论(0) 推荐(0) 编辑