Skip to content
Snippets Groups Projects
Commit e572de3e authored by Nico's avatar Nico
Browse files

Obras imprimem certo

parent c41e80d8
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include "./sources/Biblioteca.hpp" #include "./sources/Biblioteca.hpp"
#include "./sources/Livro.hpp" #include "./sources/Livro.hpp"
#include "./sources/Periodico.hpp"
using namespace std; using namespace std;
......
...@@ -17,7 +17,7 @@ class DescricaoObra { ...@@ -17,7 +17,7 @@ class DescricaoObra {
// Contructor // Contructor
DescricaoObra() {}; DescricaoObra() {};
DescricaoObra(const string& tipo, const string& titulo, int ano); DescricaoObra(const string& tipo, const string& titulo, int ano);
virtual void mostrarDetalhes() const; virtual void mostrarDetalhes() const = 0;
// Methods // Methods
string getTitulo() const ; string getTitulo() const ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment