primer_c++_迭代器
摘要:#include #include using namespace std; int main() { vector v1{ 1, 2,3,4,5,6,7,8,9,10 }; for (auto i = v1.begin(); i != v1.end(); i++) { (*i) *= 2; cout << *i<<endl; } return 0; } ...
阅读全文
posted @ 2019-07-24 08:53
浙公网安备 33010602011771号