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
我在做什麼錯在這裏?