关于写回车换行到unicode文件的问题。

  void AppendBufToFile(char* file_name,void* buf,U32 len) { FILE * fp = NULL; fp = fopen(file_name, "ab+");//Must use binary mode,otherwise Windows will add 0x0D automatically for text mode.
相关文章
相关标签/搜索