We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- C++
- Strings
- StringStream
- Discussions
StringStream
StringStream
Sort by
recency
|
543 Discussions
|
Please Login in order to post a comment
int main() { string val; cin>>val; int a=val.size(); for(int i{0};i
}
vector parseInts(string str) { // Complete this function stringstream ss(str); int a; char ch; vector local; while(ss>>a){ local.push_back(a); ss>>ch; } return local; }
I have not seen this type of coding till now, it is a very good coding. If you want to make your profile name stylish, then you can name style with the help of NickPicker to give an elegant look to any name.