Possible Duplicate:
Help with error: ISO C++ forbids declaration of 'vector' with no type奇怪的编译错误:ISO C++禁止的“设置”声明无类型
我在我的代码使用设置如下:
#include <set>
set<int> followers; //line 36
当我编译我的G代码++,它打印以下错误消息:
myCode.cpp:36: error: ISO C++ forbids declaration of ‘set’ with no type
myCode.cpp:36: error: expected ‘;’ before ‘<’ token
我在做什么错在这里?