C/C++ 输入输出到文件 freopen("in.txt","r",stdin); freopen("out.txt","w",stdout); freopen("out.txt","a+",stdout);