C:
eg:
#include <fstream> #include <iostream> #include <cstdio> using namespace std; int main(){ freopen("D:\\input.in","r",stdin); freopen("D:\\output.out","w",stdout); 。。。//直接使用scanf printf等标准函数即可 return 0; }
C++:
时间: 2024-10-13 16:49:22
C:
eg:
#include <fstream> #include <iostream> #include <cstdio> using namespace std; int main(){ freopen("D:\\input.in","r",stdin); freopen("D:\\output.out","w",stdout); 。。。//直接使用scanf printf等标准函数即可 return 0; }
C++: