青雉冰河时代漫画:Class CDrawBox: public CObject

来源:百度文库 编辑:高校问答 时间:2024/04/29 04:45:58
Class CDrawBox: public CObject
{
public:
//Draws the box.
void DoDraw(char*string)
};
E:\vc++\MSDev98\MyProjects\Console1.cpp(3) : error C2146: syntax error : missing ';' before identifier 'CDrawBox'
E:\vc++\MSDev98\MyProjects\Console1.cpp(3) : error C2501: 'Class' : missing storage-class or type specifiers
E:\vc++\MSDev98\MyProjects\Console1.cpp(3) : fatal error C1004: unexpected end of file found

void DoDraw(char*string)
后面加个{}

前面还有代码吗?