ofstream outfile; outfile.open("out",ios::binary) ; byte ch=0x0a; outfile.put(ch); outfile.put(ch);
其輸出的檔案 out 內容為 0D 0A 0D 0A
請問有何方式可以將 輸出的檔案 out 內容為 0A 0A
--※ Origin: 楓橋驛站<bbs.cs.nthu.edu.tw> ◆ From: thccy11.Oz.nthu.edu.tw