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