Copy Code. fstream m_File; m_File.open("D:\\Temp\\myFile.txt", fstream::out | fstream::app); m_File.write("hello", 5); m_File.close();.
確定! 回上一頁