file.open(“Reader.txt”,ios::in | :ios::binary) ; //在IO以及二進位制模式下開啟Reader.txt檔. 下表是open函數的模式 ... file.write(str, size); //將str寫入檔案.
確定! 回上一頁