关于CTypedPtrArray出错?
我在用CTypedPtrArray<CObArray,CLine*>m_LineArray;//管理直线对象指针CDraw:CObject,CLine:CDraw,MSDN上也有类似的例子,为什么老出现
e:\abc\jpg\draw\drawdoc.h(77) : error C2143: syntax error : missing ';' before '*'
e:\abc\jpg\draw\drawdoc.h(77) : error C2501: 'CLine' : missing storage-class or type specifiers
e:\abc\jpg\draw\drawdoc.h(77) : error C2501: 'AddLine' : missing storage-class or type specifiers这样的错误呢?