一个菜鸟的问题,急!!!
class CStroke : public CObject
{
public:
CStroke(UINT nPenWidth);
protected:
CStroke();
DECLARE_SERIAL(CStroke)
//Attributes
protected:
UINT m_nPenWidth;
public:
CArray<CPoint,CPoint> m_pointArray;
为什么会出现以下错误。
//d:\vc++\scribble\scribbledoc.h(30) : error C2143: syntax error : missing ';' before '<'
//d:\vc++\scribble\scribbledoc.h(30) : error C2501: 'CArray' : missing storage-class or type specifiers
//d:\vc++\scribble\scribbledoc.h(30) : error C2059: syntax error : '<'
//d:\vc++\scribble\scribbledoc.h(30) : error C2238: unexpected token(s) preceding ';'
//Operations
public:
BOOL DrawStroke(CDC* pDC);
public:
virtual void Serialize(CArchive& ar);
};