Q:

STL Containers – What are the types of STL containers?

0

STL Containers – What are the types of STL containers?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

A Standard Template Library (STL) is a library of container templates approved by the ANSI committee for inclusion in the standard C++ specification. We have various types of STL containers depending on how they store the elements.

Queue, Stack: These are the same as traditional queue and stack and are called adaptive containers.
Set, Map: These are basically containers that have key/value pairs and are associative in nature.
Vector, deque: These are sequential in nature and have similarities to arrays.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now