freopen_s的使用

与freopen的区别在于多了一个文件流类型的形参。即例程中的stream1。web int main() { int a, b; FILE *stream1; freopen_s(&stream1, "in.txt", "r", stdin); freopen_s(&stream1, "out.txt", "w", stdout); while (ci
相关文章
相关标签/搜索