本人看候俊杰的书时,感觉受益非浅,在按照其书上Scribble的例子中Step1做时
当我声明CArray<CPoint,CPoint> m_pointArray
和     CTypedPtrList<CObList,CStroke*> m_strokeList;
后,经编译之后,出现如下错误提示:ks\scrible\scribledoc.h(25) : error C2143: syntax error : missing ';' before '<'
scribledoc.h(25) : error C2501: 'CArray' : missing storage-class or type specifiers
scribledoc.h(25) : error C2059: syntax error : '<'
scribledoc.h(25) : error C2238: unexpected token(s) preceding ';'
scribledoc.h(45) : error C2143: syntax error : missing ';' before '<'
scribledoc.h(45) : error C2501: 'CTypedPtrList' : missing storage-class or type specifiers
scribledoc.h(45) : error C2059: syntax error : '<'
scribledoc.h(45) : error C2238: unexpected token(s) preceding ';'请问是什么回事?我写的和书上的,还有msdn上的完全相同的
用的是VC++ 6.0
谁能解决这个问题?马上给分,UP也有分!