關於寫回車換行到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.
相關文章
相關標籤/搜索