#3062. [GESP202312 四级 C++] 第 19 题
[GESP202312 四级 C++] 第 19 题
在下面的 C++ 代码中,将对 1.txt 文件写入 hello。
ifstream filein;
ofstream fileout;
filein.open("1.txt");
fileout << "hello";
{{ select(1) }}
- 正确
- 错误
在下面的 C++ 代码中,将对 1.txt 文件写入 hello。
ifstream filein;
ofstream fileout;
filein.open("1.txt");
fileout << "hello";
{{ select(1) }}