问题是: ‘hash_map’ was not declared in this scope。解决 加一个 using namespace __gnu_cxx;
//#include <hash_map>
//using namespace stdext;
#include <ext/hash_map>
using namespace __gnu_cxx;
问题是: ‘hash_map’ was not declared in this scope。解决 加一个 using namespace __gnu_cxx;
//#include <hash_map>
//using namespace stdext;
#include <ext/hash_map>
using namespace __gnu_cxx;