15 lines
174 B
C++
15 lines
174 B
C++
#ifndef CLASSES_HPP
|
|
# define CLASSES_HPP
|
|
|
|
class Base {
|
|
public:
|
|
virtual ~Base() {}
|
|
};
|
|
|
|
class A : public Base {};
|
|
class B : public Base {};
|
|
class C : public Base {};
|
|
|
|
#endif
|
|
|