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