C++报错:error C3874

解决:

1、class 定义之后不要忘记分号

2、主函数写为
int main()

{

}

原文地址:https://www.cnblogs.com/bristlegrass/p/11429823.html