BILINGUAL WORD CARD · RANK 94

map

🗂️ Sorted key-value associative container in C++

Key-value container in C++ STL.

中文对照 · Chinese

🗂️ 自动按字母排好序的键值档案柜

`map<string, int>` 类似 Python 的 `dict`,但会自动按 key 排序。

Code example

map<string, int> score_map;
Explore 100 bilingual word cards →