X-Git-Url: https://git.llucax.com/z.facultad/75.42/euler-oo.git/blobdiff_plain/360793b55c03f1de538e606f5259bb24c23257b3..f5f954c4c6c56e3ad3bfd97f592bef84b06da90d:/rectangulo.cpp?ds=inline diff --git a/rectangulo.cpp b/rectangulo.cpp index 44cf975..450e670 100644 --- a/rectangulo.cpp +++ b/rectangulo.cpp @@ -35,7 +35,8 @@ Rectangulo::~Rectangulo(void) { } void Rectangulo::dibujar(std::ostream& out) const { + out << "Rectangulo("; Figura::dibujar(out); - out << ", ancho: " << ancho << ", alto: " << alto; + out << ", ancho(" << ancho << "), alto(" << alto << "))"; }