Answer the question
In order to leave comments, you need to log in
How to remove hash_map error when using std_lib_facilities.h?
Started learning C++ programming from Stroustrup and now I can't get any further than using this file. They write that you need to insert it into the include folder and add it to the compiler through header files. Made. But in the end, I get an error because of which further work is meaningless.
PS The file was downloaded from the office. site.
#include "std_lib_facilities.h"
int main()
{
cout << "Hello, World!\n";
keep_window_open();
return 0;
}
Severity Code Description Project File String Suppression Status
Error (active) static declaration failed due to " is deprecated and will be REMOVED. Please use . You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning." 1 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\hash_map 14
Severity Code Description Project File String Suppression Status
Error C2338 is deprecated and will be REMOVED. Please use . You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning. 1 c:\program files (x86)\microsoft visual studio 14.0\vc\include\hash_map 17
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question