VS2008 hash_compare编译出错解决思路
VS2008 hash_compare编译出错
今天在VS2008上编译hash_compare,结果报 error C2039: “hash_compare”: 不是“stdext”的成员,
大家有碰到过么
------解决方案--------------------
你的代码???
------解决方案--------------------
http://msdn.microsoft.com/en-us/library/1s1byw77(v=vs.90).aspx ?
Header: <hash_map>
Namespace:
包含了头文件没? using namespace stdext了没?
或者直接用 stdext::XXXXXXX的方式看看呢?
------解决方案--------------------
看看它的文档是否有说明支持的编译器版本
今天在VS2008上编译hash_compare,结果报 error C2039: “hash_compare”: 不是“stdext”的成员,
大家有碰到过么
------解决方案--------------------
你的代码???
------解决方案--------------------
http://msdn.microsoft.com/en-us/library/1s1byw77(v=vs.90).aspx ?
Header: <hash_map>
Namespace:
包含了头文件没? using namespace stdext了没?
或者直接用 stdext::XXXXXXX的方式看看呢?
------解决方案--------------------
看看它的文档是否有说明支持的编译器版本