我在程序里面定义了一个hash_map的变量:定义如下:
typedef hash_map<BYTE,NAMELIST*> MAPNAMELIST;
MAPNAMELIST g_mapList;
NAMELIST 为自定义的结构在插入数据的时候:
g_mapList.insert(MAPNAMELIST::value_type(g_mapList->dwNameID,g_mapList));
在编释连接的时候报错:
error LNK2001: 无法解析的外部符号 "class stdext::hash_map<us......>在使用hash_map的时候是否还要加什么LIB文件,是哪一个.