You are viewing a single comment's thread. Return to all comments →
vector parseInts(string str) { stringstream ss(str); vector numbers; while (!ss.eof()) { if(ss >> num) numbers.push_back(num); std::cout<
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 →
vector parseInts(string str) { stringstream ss(str); vector numbers; while (!ss.eof()) { if(ss >> num) numbers.push_back(num); std::cout<