正在加载图片...
C++程序设计 湖南大学 杜四春、银红霞 多继承的定义格式如下 class<派生类名>:<继承方式1<基类名1>,<继承方式 2><基类名2>, public:/派生类新定义成员 members; .private:> members; protected: members;C++程序设计 湖南大学 杜四春、银红霞 多继承的定义格式如下: class<派生类名> :<继承方式1><基类名1>,<继承方式 2><基类名2>,… { public: //派生类新定义成员 members; <private:> members; <protected:> members; };
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有