关于queue,类
#include <queue>
class go2sgf
{
class gopos
{
public:
char color;
char x;
char y;
};
queue<gopos> manual;
public:
char *gotosgf(char *filename, char *sgfname, int size=19, int step=0);
};
-------------------------------------
VC2005编译报错:
1>e:\wang\go2sgf\go2sgf\go2sgf.h(16) : error C2143: syntax error : missing ';' before '<'
1>e:\wang\go2sgf\go2sgf\go2sgf.h(16) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\wang\go2sgf\go2sgf\go2sgf.h(16) : error C2238: unexpected token(s) preceding ';'
--------------------------------------
错误都指向这一行: queue<gopos> manual;