cin.get(char)/cin.get()/cin.get(name, arsize);能識別換行符和空格. 補充:檔案尾條件. char ch;. cin.get(ch);. while(cin.fail() == false)/ ...
確定! 回上一頁