Created
June 16, 2021 01:33
-
-
Save Kevin-Gomez10/92d9dfe90505fdf10e27c0ee4ff7360a to your computer and use it in GitHub Desktop.
POO Act13 clase Animal perro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef animal_h | |
#define animal_h | |
class Animal{ | |
public: | |
string nombre; | |
string raza; | |
string NresponsableP; | |
void cargar_datos(); | |
void Comer(); | |
};//Fin Clase Animal | |
class Perro: public Animal{ | |
public: | |
void Ladra(); | |
void Vacunar(); | |
void VerDatos(); | |
}; | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment