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

提供: yonewiki
移動: 案内, 検索
(クラス 継承)
(クラス 継承)
69行: 69行:
 
<span style="color: #ffffff; background-color: #555555; padding: 0px 5px 0px 5px; display: inline-block;">cpp <span>(</span>BaseInheritanceMain.cpp<span>)</span><!-- padding 上 右 下 左-->
 
<span style="color: #ffffff; background-color: #555555; padding: 0px 5px 0px 5px; display: inline-block;">cpp <span>(</span>BaseInheritanceMain.cpp<span>)</span><!-- padding 上 右 下 左-->
 
<syntaxhighlight2 lang="cpp" line>
 
<syntaxhighlight2 lang="cpp" line>
#include "stdafx.h"
+
#include <cstdio>
#include "CBaseInheritance.h"
+
 
+
int main(){
+
    CBaseInheritance objCBaseInheritance(3900, 12);
+
    objCBaseInheritance.m_fvDispValue();
+
  
 +
int main() {
 +
    printf("Inheritance\n");
 
     return 0;
 
     return 0;
 
}
 
}

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



個人用ツール
名前空間

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