在VC++6自动生成一个SDI程序,用ClassWizard生成一个对话框类,然后在这个类的CPP文件中加入这么一句话 #include "hotel_misview.h",编译出现如下错误:
i:\microsoft visual studio\myprojects\database\hotel_mis\hotel_misview.h(21) : error C2143: syntax error : missing ';' before '*'
i:\microsoft visual studio\myprojects\database\hotel_mis\hotel_misview.h(21) : error C2501: 'CHotel_MISDoc' : missing storage-class or type specifiers
i:\microsoft visual studio\myprojects\database\hotel_mis\hotel_misview.h(21) : error C2501: 'GetDocument' : missing storage-class or type specifiers
请问一下,为什么会这样??请教一下各位了。