Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 람다사용정렬
- 언리얼가비지컬렉터
- 스마트포인터
- stl
- 정렬알고리즘
- 선택정렬
- map
- enumasByue
- C++
- 구조적 바인딩
- UELOG
- unorder_map
- 프로그래머스
- 애셋로드
- dataasset
- 정렬
- 람다
- 강참조
- 델리게이트
- 자료구조
- 데이터애셋
- 약참조
- 크리티컬섹션
- 알고리즘
- UE_LOG
- BFS
- UE4 커스텀로그
- UML관련
- moreeffectiveC++
- C++최적화
Archives
- Today
- Total
기억을 위한 기록들
[CPP] std::stringstream에 관하여 본문
https://www.cplusplus.com/reference/sstream/stringstream/stringstream/
stringstream::stringstream - C++ Reference
initialization (2)explicit stringstream (const string& str, ios_base::openmode which = ios_base::in | ios_base::out);
www.cplusplus.com
#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;
}

'C & CPP' 카테고리의 다른 글
구글 C++ 스타일가이드 링크 (참고) (0) | 2023.03.17 |
---|---|
[CPP] 람다 표현식(Lambda Expression)이란? (Lambda 함수) (2) | 2022.12.05 |
[CPP] const와 constexpr (0) | 2022.05.25 |
[CPP] 함수 객체에 관하여 (0) | 2022.02.02 |
[CPP]std::function에 관하여 (0) | 2022.02.02 |