這就需要用到C++ 中另一個標準庫fstream,它定義了三個新的數據類型: 數據類型 ... cin.ignore(); // 再次向文件寫入用戶輸入的數據 outfile << data << endl; ...
確定! 回上一頁