08 2018 档案

摘要:文件输入输出 1.输入输出重定向 freopen("input.txt","r",stdin); //该语句使得所有读键盘输入的函数都从文件input.txt读入,例如scanf。 freopen("output.txt","w",stdout); //该语句使得所有输出到屏幕的函数都输出到文件ou 阅读全文
posted @ 2018-08-22 00:35 foxc 阅读(3761) 评论(0) 推荐(0)
摘要:以后应该会做一些笔记。 阅读全文
posted @ 2018-08-20 21:23 foxc 阅读(220) 评论(0) 推荐(0)