ifstream 輸入物件; // 建立輸入檔案物件 ... ifstream 輸入物件(“檔案名稱”, ios::開啟模式); ... myFile.open("a:\\textIn.txt", ios::in); // 開啟輸入檔案
確定! 回上一頁