[C++]Tuple(튜플)헤더 #include <tuple> 선언 tuple<int, string, char> t1(20, "hello", 'c'); tuple<int, string, char> t2; t2 = make_tuple(30, "world", 'd'); 접근 int a = get<0>(t1); string b = get<1>(t1); char c = get<2>(t1)2024. 3. 16.C++#cpp#algorithm#tuple