You are viewing a single comment's thread. Return to all comments →
string s; cin>>s; for(int i;i<s.size();i++) { if(s[i]!=',') cout<<s[i]; else cout<<"\n"; }
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 →