consolidate all repos to one for archive
This commit is contained in:
14
semester_2/programiranje_2/primeri/Example09/Dog.h
Normal file
14
semester_2/programiranje_2/primeri/Example09/Dog.h
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
#ifndef EXAMPLE09_DOG_H
|
||||
#define EXAMPLE09_DOG_H
|
||||
|
||||
#include <iostream>
|
||||
|
||||
class Dog : public Animal {
|
||||
public:
|
||||
void voice() const {
|
||||
std::cout << "bark" << std::endl;
|
||||
}
|
||||
};
|
||||
|
||||
#endif //EXAMPLE09_DOG_H
|
||||
Reference in New Issue
Block a user