我创建了个新类
class Squiggle : public Shape
{
DECLARE_SERIAL(Squiggle)
public:
Squiggle(COLORREF color,int width,CPoint start);
virtual ~Squiggle();
virtual void Draw(CDC *pDC);
virtual void Update(CPoint point);
virtual void Serialize(CArchive &ar);
protected:
Squiggle();
CArray<CPoint,CPoint> m_data;
};
总是出错:error C2143: syntax error : missing ';' before '<'
error C2501: 'CArray' : missing storage-class or type specifiers
error C2059: syntax error : '<'
error C2238: unexpected token(s) preceding ';'
是怎么回事啊???