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