+ 18

What is a Standard Template Library (STL)? What are the various types of STL Containers?

Please explain ....any example how to use it ?

19th May 2019, 6:31 PM
Mr AJX šŸ˜ŽšŸ˜ˆ
Mr AJX šŸ˜ŽšŸ˜ˆ - avatar
5 Answers
+ 8
Ajay Bamniya TheĀ STLĀ contains sequencecontainers andĀ associativeĀ containers. TheĀ standardĀ sequenceĀ containers include vector , deque ,Ā andĀ list . The standardĀ associativeĀ containersĀ are set , multiset , map , multimap , hash_set , hash_map , hash_multisetandĀ hash_multimap . source: https://en.m.wikipedia.org/wiki/Standard_Template_Library I hope I was helpful
19th May 2019, 6:40 PM
Alessio Benvenuti
Alessio Benvenuti - avatar
+ 13
Thank you Alessio it's helpful ..
19th May 2019, 7:11 PM
Mr AJX šŸ˜ŽšŸ˜ˆ
Mr AJX šŸ˜ŽšŸ˜ˆ - avatar
+ 4
Ajay Bamniya, you're welcome! :)
19th May 2019, 7:13 PM
Alessio Benvenuti
Alessio Benvenuti - avatar
+ 3
STL means standard template library STL contains three parts... 1.Containers 2.iterators 3.algorithms *Containers are of 2 types namely sequencial containers and associative containers *sequencial containers They have 3 types 1.Vector 2.List 3.Deque *Associative containers They are of 4 types 1.Map 2.Multimap 3.Set 4.Multi set
23rd May 2019, 1:42 AM
Nikhil Sai Karanki
Nikhil Sai Karanki - avatar