getline 是C++標準庫函數;但不是C標準庫函數,而是POSIX(IEEE Std 1003.1-2008版本及以上)所 ... C 有fgets(),gets() 函數,gcc編譯器擴展定義了getline()函數。
確定! 回上一頁