16,472
社区成员
发帖
与我相关
我的任务
分享
char sRead[2] = {0};
CFile mFile("F:\\dotNet\\Whois\\Whois\\Debug\\file.txt", CFile::modeRead);
if (mFile.GetLength() < 2)
return ;
for (int i=0; i<2;++i)
{
mFile.Read(&sRead[i], 1);
}
mFile.Close();
m_edtLog.SetWindowTextA(sRead);
char sRead[2] = {'\0'};