How to initialize the list of associated containers in Category 11
This article introduces the knowledge of "how to initialize the list of containers associated with Category 11". Many people will encounter this dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
What is an associated container
The concept of associative containers (associative container) is not unique to container 11. It is called associative containers because the elements in the container are saved and accessed by keywords, as opposed to sequential containers (sequence container), where elements are saved and accessed through their location in the container.
An example of a sequential container
Vector name {"zhao", "qian", "sun", "li"}
Name [2] = "zhou"
Cout