C & CPP
[CPP] std::stringstream에 관하여
에드윈H
2022. 6. 6. 15:21
https://www.cplusplus.com/reference/sstream/stringstream/stringstream/
#include <iostream>
#include <sstream>
using namespace std;
int main()
{
string str = "Hello World";
stringstream strStream(str);
string to, From;
strStream >> to >> From;
cout << From << " " << to << endl;
return 0;
}