First version using OOP
This commit is contained in:
17
Animal.cpp
Normal file
17
Animal.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "Animal.hpp"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
Animal::Animal(){
|
||||
|
||||
}
|
||||
|
||||
Animal::~Animal(){
|
||||
|
||||
}
|
||||
|
||||
void Animal::acorda(){
|
||||
cout << "Só acorda, sem fazer barulho" << endl;
|
||||
}
|
||||
Reference in New Issue
Block a user