C++ Tuples

Subscribers:
50,600
Published on ● Video Link: https://www.youtube.com/watch?v=rms7mEVXils



Duration: 0:00
166 views
9


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:    • C++ Pair  

C++ Playlist:
   • C++ Tutorial  

Install C++ with VS Code:
   • How to set up C++ in Visual Studio Code  

Subscribe for more coding tutorials 😄!