void ifstream::open(const char *filename, openmode mode=ios::in); ... 您可以使用附加方式,或是使用ifstream並指定ios::in與ios::out,即可保留原檔案的內容。
確定! 回上一頁