char str1[10]; //C風格的內建字元陣列 string str2; //C++風格的字串類別 ... 和cin.getline()最大差別就是,getline()是屬於<string>類別的,只能 ...
確定! 回上一頁