X-Git-Url: https://git.llucax.com/z.facultad/75.42/euler-oo.git/blobdiff_plain/223250fc01a546d486434b216225d45be73c6dc5..d79b77bdb6d6e459f152787335d61683e6eafc32:/rectangulo.cpp?ds=sidebyside 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 << "))"; }