写文件自动换行

bool flag=false;
 CFile m_bytefile;
    flag=m_bytefile.Open("C://timestamps.m4e",CFile::modeCreate|CFile::modeWrite|CFile::modeNoTruncate|CFile::typeBinary);
 m_bytefile.Write("KDFKDFK/r/n",9);
 m_bytefile.Write("JO",2);

结果:

写文件自动换行_第1张图片

你可能感兴趣的:(c)