Sobrecarga de Operadores y E/S en C++
Sobrecarga de Operadores y E/S en C++
Sobrecarga de Operadores y E/S en C++
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Operadores</strong> Aritméticos• Suma <strong>de</strong> números complejos: Complejo Complejo::operator+ (const Complejo& z2) const { } Complejo res (0, 0); res.real = this->real + z2.real;res.img = this->img + z2.img; return res;