Tuples C++. In this video you will learn about tuples in c++. A tuple is a collection that holds multiple values, which can be of different types (heterogenous types). For instance, you can create a tuple that holds two strings and an int. In this tutorial, you will learn how to create a tuple using the constructor or make_tuple function, how to access and update a value using the get function with the index or type, how to pack and unpack a tuple, and use the ignore key word. Tuples are very similar to pairs, except they are not limited to two values.
If you need to review these topics:
Pairs: https://youtu.be/FfJcYL-wsoM
C++ Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4ZDNIOZ51sX25pWKQ1pkpTE
Github Repo for C++ Code:
https://github.com/ImKennyYip/cpp
Install C++ with VS Code:
https://youtu.be/DMWD7wfhgNY
Subscribe for more coding tutorials !