Cpp クラス 継承 新しいページはコチラ
提供: yonewiki
(→クラス 継承) |
(→クラス 継承) |
||
94行: | 94行: | ||
#endif | #endif | ||
− | class CDeriveInheritance:CBaseInheritance{ | + | class CDeriveInheritance:public CBaseInheritance{ |
private: | private: | ||
int m_iDeriveMoney; | int m_iDeriveMoney; | ||
110行: | 110行: | ||
<syntaxhighlight2 lang="cpp"> | <syntaxhighlight2 lang="cpp"> | ||
− | class CDeriveInheritance:CBaseInheritance{ | + | class CDeriveInheritance:public CBaseInheritance{ |
</syntaxhighlight2> | </syntaxhighlight2> | ||