resize(size_t n), resize (size_t n, char c); shrink_to_fit(). size() 跟length() 都是回傳string 的長度,兩個方法基本上是完全一樣,差別只在於 ...
確定! 回上一頁