CPP04 1.0
|
Implements the abstract Animal class. [詳解]
#include "Animal.hpp"
Implements the abstract Animal class.
Provides the definitions for the non-pure virtual methods of the Animal class, including its constructors, destructor, and accessor. The makeSound() function is a pure virtual function and thus has no implementation here.
Animal.cpp に定義があります。