+ 18
What is a Standard Template Library (STL)? What are the various types of STL Containers?
Please explain ....any example how to use it ?
5 Antworten
+ 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
+ 13
Thank you Alessio it's helpful ..
+ 6
https://www.sololearn.com/discuss/1295635/?ref=app
https://www.sololearn.com/discuss/1606280/?ref=app
https://www.sololearn.com/discuss/1689736/?ref=app
https://www.sololearn.com/discuss/541546/?ref=app
https://www.sololearn.com/discuss/288898/?ref=app
https://www.sololearn.com/discuss/340204/?ref=app
https://www.sololearn.com/discuss/390942/?ref=app
https://www.sololearn.com/discuss/1327097/?ref=app
+ 4
Ajay Bamniya, you're welcome! :)
+ 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