12.07.2015 Views

Sobrecarga de Operadores y E/S en C++

Sobrecarga de Operadores y E/S en C++

Sobrecarga de Operadores y E/S en C++

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Sobrecarga</strong> <strong>de</strong> operadores• Estas dos notaciones son equival<strong>en</strong>tes int main (void) { C a, b, c, d; c = -b; d = b – a; } int main (void) { C a, b, c, d; c = b.operator-(); d = b.operator-(a); }

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!