朋友给我一段代码,我用我的vs2005+xp sp3编译了一下 然后报错:
语句是这个样子的std::hash_map<std::string, Packfile*>::iterator pos1 =  m_SourcePackList.begin();错误提示是:error C2039: 'hash_map' : is not a member of 'std'我在网上翻了很久,在一个英文论坛上看到有人说换成这样,就不会报错了stdext::hash_map<std::string, Packfile*>::iterator pos1 =  m_SourcePackList.begin();我试了一下 果然没错了, 但是stdext是什么东西了?我只在网上查到了 他也是一个库,他跟STD有什么关系和区别了?