vector容器輸出運算符的重載__2018.06.16

代碼:ios #include <iostream> #include <vector> using namespace std; ostream& operator<<(ostream &out,vector<int>&src) { for (vector<int>::iterator it = src.begin(); it != src.end(); ++it) { out <<
相關文章
相關標籤/搜索