📅  最后修改于: 2022-03-11 14:44:48.107000             🧑  作者: Mango
#include
void main()
{
ifstream OpenFile("cpp-input.txt");
char ch;
while(!OpenFile.eof())
{
OpenFile.get(ch);
cout << ch;
}
OpenFile.close();
}