我无法在eclipse中编译下面的代码。任何人都可以告诉我可能的原因虽然包含了stl库。
#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;
}