摘要: freopen("out.txt","w",stdout);//输出至out.txt,写在printf之前 printf("1\n1\n1\n"); fclose(stdout);//关闭文件 阅读全文
posted @ 2019-11-09 16:41 Cherlie 阅读(173) 评论(0) 推荐(0) 编辑