字串處理
stringstream ss;string s;ss << s;while(true){ ss >> arr[i++]; if(ss.fail()) break;}https://ideone.com/pikFOW