.erase()可以刪除單個元素,也可以刪除給定範圍內的所有資料. 用法分別為. vector.erase(position);. 以及. vector.erase(erase start,erase end);.
確定! 回上一頁