string str; getline(cin, str); 它的getline是一個friend function嗎?不是只有cin.getline才有這個成員函式嗎? 怪怪的getline(cin, str);不太了解是什麼意思。
確定! 回上一頁