#include <ssteram>
using namespace std;
string str = "find new";
stringstream in(str);
string a, b;
in >> a >> b;
// a = "find"
// b = "new"
활용시 참고
https://life-with-coding.tistory.com/403
'C | C++' 카테고리의 다른 글
[C++] 최소값, 최대값 쉽게 구하는 방법 (0) | 2022.05.11 |
---|---|
[C++] string to int, char to int, int to string, int to char (0) | 2022.05.11 |
[C++] unordered_map을 value를 기준으로 정렬 (0) | 2022.05.09 |
[Effetive C++] Chapter 1 정리 (0) | 2022.04.27 |
[Effective C++] 기초 정리 (0) | 2022.04.26 |