|
编译出错:CHanoiDoc* GetDocument();这一行
error C2143: syntax error : missing ';' before '*'
error C2501: 'CHanoiDoc' : missing storage-class or type specifiers
error C2501: 'GetDocument' : missing storage-class or type specifiers
只有加上#include "HanoiDoc.h" 编译才通过,可在其它工程中不加也可以.所以我想是其它地方错,但不知错在哪,望指点. |
|