我要用一个CArray类
这样定义的:
CArray<int,int> CShareArea;怎么编译的时候出错
错误信息如下
e:\byp\pothunter\pothunterdoc.h(93) : error C2146: syntax error : missing ';' before identifier 'CShareArea'e:\byp\pothunter\pothunterdoc.h(93) : error C2501: 'CArray' : missing storage-class or type specifiers
这样定义的:
CArray<int,int> CShareArea;怎么编译的时候出错
错误信息如下
e:\byp\pothunter\pothunterdoc.h(93) : error C2146: syntax error : missing ';' before identifier 'CShareArea'e:\byp\pothunter\pothunterdoc.h(93) : error C2501: 'CArray' : missing storage-class or type specifiers
typedef CArray<int,int> CShareArea;
e:\byp\pothunter\pothunterdoc.h(92) : error C2143: syntax error : missing ';' before '<'