单文档多视图的编译错误
用VC编个单文档多视图的界面,编译时出现下面的错误:
error C2143: syntax error : missing ';' before '*'
error C2501: 'CCuteFTPDoc' : missing storage-class or type specifiers
error C2501: 'GetDocument' : missing storage-class or type specifiers
出现的错误指在文件CuteFTPView.h的同一行语句上:
public:
CCuteFTPDoc* GetDocument();
请教大家怎么解决啊?