#include <map> std::map<size_t, std::string> map; map[10] = "Hello"; map[1] = "boys"; map[901] = "girls"