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 | 31 |
Tags
- 언리얼가비지컬렉터
- 선택정렬
- UE_LOG
- UELOG
- stl
- 람다사용정렬
- C++
- 강참조
- 크리티컬섹션
- 약참조
- 언리얼엔진구조체
- unorder_map
- C++최적화
- 델리게이트
- BFS
- 알고리즘
- UML관련
- 정렬
- 데이터애셋
- moreeffectiveC++
- 정렬알고리즘
- dataasset
- 애셋로드
- UE4 커스텀로그
- 프로그래머스
- 람다
- enumasByue
- 스마트포인터
- map
- 자료구조
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 |