-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCuento.cpp
More file actions
29 lines (21 loc) · 702 Bytes
/
Copy pathCuento.cpp
File metadata and controls
29 lines (21 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include "Cuento.h"
Cuento::Cuento(string titulo, Escritor *escritor, int anio, int minutos, string libro)
: Lectura(titulo, escritor, anio, minutos){
this->libro = libro;
}
string Cuento::obtener_libro(){
return libro;
}
void Cuento :: mostrar_lectura(){
Lectura::mostrar_lectura();
cout << "Titulo del libro donde esta el cuento: " << obtener_libro() << "\n" << endl;
}
Cuento :: ~Cuento(){};
string Cuento::obtener_tipo(){
return CUENTO;
}
int Cuento::imprimir_novela_genero(generos genero){return 0;}
bool Cuento::es_cuento(){return true;}
bool Cuento::es_poema(){return false;}
bool Cuento::es_historica(){return false;}
bool Cuento::es_novela(){return false;}