如下在编译程序时提示错误信息:
error C2338: <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
请问这个错误怎么解决?
是要用<unordered_map>替换<hash_map> 吗?
要替换的话具体怎么操作呀?
还是define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
定义_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS的话,把定义的语句放到那里合适呢?