要的 打开文件 和 关闭 文件 应该成对出现[/quote]
但是它是这样的
8 52 C:\Users\86138\Desktop\c++\60mainanzhuanhg.cpp [Error] too few arguments to function 'FILE* freopen(const char*, const char*, FILE*)'
12 0 D:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\include\locale.h In file included from D:/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include/locale.h
42 D:\Dev-Cpp\MinGW64\lib\gcc\x86_64-w64-mingw32\4.9.2\include\c++\clocale from D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/clocale
40 D:\Dev-Cpp\MinGW64\lib\gcc\x86_64-w64-mingw32\4.9.2\include\c++\x86_64-w64-mingw32\bits\stdc++.h from D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/x86_64-w64-mingw32/bits/stdc++.h
1 C:\Users\86138\Desktop\c++\60mainanzhuanhg.cpp from C:\Users\86138\Desktop\c++\60mainanzhuanhg.cpp
455 17 D:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\include\stdio.h [Note] declared here