I implemented unordered map using this code :
#include <unordered_map >
#include <iostream >
using namespace std;
int main()
{
unordered_map<string,int> unmap;
unmap["index"] = 11;
cout << unmap["index"];
}
But this code gives me error on DevC++
Whats wrong?