RSS Feed
Articles
-
11.6 유도된 클래스에 새로운 기능 추가하기
```c++ #include
using namespace std; -
11.5 상속과 접근 지정자
```c++ #include
using namespace std; -
11.4 유도된 클래스들의 생성과 초기화
```c++ #include
using namespace std; -
11.3 유도된 클래스들의 생성 순서
```c++ class Mother { public: int m_i;
Mother(const int & i_in = 0) : m_i(i_in) { cout « “Mother construction” « “\n”;
} }; -
11.2 상속의 기본(2) is-a relationship
Person header ```c++ #pragma once