StringStream

Sort by

recency

|

539 Discussions

|

  • + 0 comments

    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.

  • + 0 comments

    Superb coding. I have to admit that I was a little confused by this problem. Well done for being so brief without sacrificing readability or comprehension. The https://netmirrors.app/ website

  • + 0 comments
    #include <sstream>
    #include <vector>
    #include <iostream>
    using namespace std;
    
    vector<int> parseInts(string str) {
        vector<int> v;
    stringstream ss(str);
    string temp;
    while(getline(ss,temp,',')){
        v.push_back(stoi(temp));
    }
    return v;
    

    }

    int main() {
    string str;
    cin >> str;
    vector<int> integers = parseInts(str);
    for(int i = 0; i < integers.size(); i++) {
        cout << integers[i] << "\n";
    }
    
    return 0;
    

    }

  • + 0 comments

    Excellent coding. I must admit that this issue perplexed me a little. Bravo for being so succinct without compromising comprehension or readability. https://magistvhd.app/

  • + 0 comments

    You've got your brain in gear. We have designed a new website for online profile pictures named 'Mastdp'. A new page named Cute girl cartoon pic has just been added here, where you will see cute cartoon girls.