CString contents;
ifstream in("E:\\1234.txt");
string filename;
string line;
int i = 0;
if (in)
{
while (getline (in,line))
{
CString temp;
temp.Format("%s",line.c_str());
cout << temp << endl;
}
}else
{
in.close();
return ;
}
in.close();
return ;

相关文章:

  • 2021-08-30
  • 2021-08-16
  • 2021-08-01
  • 2021-07-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-15
  • 2022-12-23
相关资源
相似解决方案