I am not able to compile the below code at eclipse.Can anyone let me know what can be reason although stl library is included for the same.
#include<iostream>
#include <unordered_set>
using namespace std;
int main()
{
string str;
unordered_set <string> s;// symbol unordered_set can't be resolved
while(getline(cin,str)) //
{
if(str=="exit")
{
break;
}
s.insert(str);
}
return 1;
}