FILE CONTROL
Mar 10th, 2020 - Now
文件流输入输出
C/C++
输入: freopen("in.cpp", "r", stdin); fclose(stdin);
输出: freopen("in.cpp", "r", stdout); fclose(stdout);
C++
输入: ifstream cin("in.cpp"); cin.close();
输出: ofstream cout("out.cpp"); cout.close();
Reference
Last updated