Cpp クラス 継承 新しいページはコチラ

提供: yonewiki
移動: 案内, 検索
(クラス 継承)
(クラス 継承)
57行: 57行:
 
}
 
}
 
void CBaseInheritance::m_fvBaseDispValue() {
 
void CBaseInheritance::m_fvBaseDispValue() {
     printf("Money=%d\n", m_iBaseMoney * m_iBaseMonth);
+
    int iSumMoney = m_iBaseMoney * m_iBaseMonth;
 +
     printf("Money=%d\n", iSumMoney);
 
}
 
}
 
int CBaseInheritance::m_fiBaseSumMoney() {
 
int CBaseInheritance::m_fiBaseSumMoney() {

2020年7月14日 (火) 00:00時点における版



個人用ツール
名前空間

変種
操作
案内
ツールボックス