STL(Standard Library)
STL pair, tuple 사용법
BE_개발자
2023. 12. 26. 00:42
728x90
반응형
https://transferhwang.tistory.com/643
[C/C++] STL pair, tuple 사용법
C++에 튜플이 있는지 첨 알았다!!! WOW #include using namespace std; pair p; tuple t; int a, b, c; int main() { // 원래 방법 p = make_pair(1, 2); t = make_tuple(1, 2, 3); a = p.first; b = p.second; cout
transferhwang.tistory.com
728x90
반응형