You are viewing a single comment's thread. Return to all comments →
stringstream ss(str); vector<int> v; for(int i=0; ss>>i; ss.ignore()) v.push_back(i) return v
Seems like cookies are disabled on this browser, please enable them to open this website
StringStream
You are viewing a single comment's thread. Return to all comments →