如果需要線性、長度可變的資料容器,可以使用vector,這需要包含vector 標頭檔: ... for(vector<int>::iterator it = number.begin(); it != number.end(); it++) ...
確定! 回上一頁