📅  最后修改于: 2022-03-11 14:44:53.238000             🧑  作者: Mango
代码示例2
int a, b;
ifstream bd;
myfile.open("file.txt");
if (myfile.is_open())
while (bd >> a >> b)
cout << a << b << endl;
else cout << "ERROR";