cpp extend class code example
Example 1: extends c++
class Animal {
public:
move();
}
class Dog: public Animal {
public:
move();
};
Example 2: c++ extend class
class Foo : public Bar{}
class Animal {
public:
move();
}
class Dog: public Animal {
public:
move();
};
class Foo : public Bar{}