STL_map

map<string,int> m;
int main()
{
    m["123"] = 1123;
    cout<<m["123"]<<endl;
    return 0;
}
原文地址:https://www.cnblogs.com/wwjyt/p/3182872.html