error C2533: ' ::{ctor}' : constructors not allowed a return type

    技术2025-06-22  17

    error C2533: ' ::{ctor}' : constructors not allowed a return type

    出现这个错误是因为在定义的类体中,在最后少了个分号“

    class

    {

    private:

    public:

    };

    最新回复(0)