求教cfile写文件,format格式问题
CFile theFile;
theFile.Open(Path,CFile::modeWrite);
CArchive ar(&theFile,CArchive::store);
for(int i=0;i<m_ncnt;i++)
{
Path.Format("%d\r\n",m_fsize[i]);
ar<<Path;
}
ar.Close();
theFile.Close();
m_fsize[]是个int数组,写入文件显示为:
=5863
=4315
=8650
=9755
>10393
>14446
=6991
=5595
请问前面为什么会出现">"和"=",怎么解决?