摘要: 01 文件读写方法 使用C中的freopen()函数进行打开文件并重定向输入输出。如下: #include<iostream> using namespace std; int main() { freopen("testfile.txt","w",stdout); for(int i=0;i<10 阅读全文
posted @ 2022-01-29 22:08 himekawa 阅读(719) 评论(0) 推荐(1) 编辑