在该工程目录下去创建两个文档input.txt和output.txt freopen("input.txt","r",stdin); freopen("output.txt","w",stdout); 相关文章: