An open API service indexing awesome lists of open source software.

https://github.com/solareenlo/42cpp-module-03

C++ practice 03 (inheritance, multiple inheritance)
https://github.com/solareenlo/42cpp-module-03

42 42born2code 42cursus 42projects cpp

Last synced: about 1 year ago
JSON representation

C++ practice 03 (inheritance, multiple inheritance)

Awesome Lists containing this project

README

          

# 42cpp-module-03

### ex04
- [多重継承](https://programming.pc-note.net/cpp/inheritance_multiple.html)
- C++ でダイヤモンド継承をすると基底クラスの実体はふたつ存在することになる.
- C++ では仮想継承(virtual)という方法を用いると,基底クラスの実体をひとつにすることができる.
- [静的メンバ](https://cpp-lang.sevendays-study.com/day5.html)
- [Static constant string (class member)](https://stackoverflow.com/questions/1563897/static-constant-string-class-member)

### ex02
- [継承](https://programming.pc-note.net/cpp/inheritance.html)
- 拡張のための継承 = is-a 関係
- is-a 関係は,差分プログラミングと呼ばれるプログラミング手法
- [is-a 関係](https://programming-place.net/ppp/contents/cpp/language/026.html#is_a)
- [C++のis-aとhas-a関係(オブジェクト指向的な関係)](https://www.zealseeds.com/Lang/LangCpp/cpp/objectOrientation/RelationOfIs-aOrHas-a/index.html)
- [継承と合成 | Programming Place Plus C++編【言語解説】 第28章](https://programming-place.net/ppp/contents/cpp/language/028.html)

### ex01
- [静的メンバ変数](http://wisdom.sakura.ne.jp/programming/cpp/cpp41.html)
- クラス内に1つしか存在しないメンバのこと.
- 全てのオブジェクトが共有するクラス内グローバル変数と言える.

### ex00
- [メンバイニシャライザ](https://programming.pc-note.net/cpp/constructor.html)
- 「コンストラクタ名() :」の後に記述されているのがメンバイニシャライザ.
- メンバイニシャライザによる初期化は,代入による初期化よりも効率が良い.
- [C++ メンバイニシャライザの効率を調べてみた](http://jagabeeinitialize.hatenablog.com/entry/2018/01/21/192043)
- [委譲コンストラクタ](https://cpprefjp.github.io/lang/cpp11/delegating_constructors.html) は,C++11 からの機能.
- 委譲コンストラクタは,効率の良い初期化方法.
- [演算子のオーバーロード](http://wisdom.sakura.ne.jp/programming/cpp/cpp27.html)

### キャラクター名
- Clap Trap
- Borderlands というゲームに登場するノンプレイキャラクター
- [Borderlands ノンプレイヤーキャラクター CL4P-TP](https://ja.wikipedia.org/wiki/Borderlands#%E3%83%8E%E3%83%B3%E3%83%97%E3%83%AC%E3%82%A4%E3%83%A4%E3%83%BC%E3%82%AD%E3%83%A3%E3%83%A9%E3%82%AF%E3%82%BF%E3%83%BC)
- [Claptrap (robots)](https://borderlands.fandom.com/wiki/Claptrap_(robots))
- [SC4V-TP](https://borderlands.fandom.com/wiki/SC4V-TP)