Loading presentation...

Present Remotely

Send the link below via email or IM


Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.


Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Lenguajes de programación II

No description

Roberto Desaida

on 24 September 2013

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Lenguajes de programación II

Sobrecargar un Operador
Sobrecarga de Operadores Binarios
Lenguajes de programación II
Operadores Sobrecargados
Sobrecargar un operador.
Operadores Sobrecargados
Clase para números racionales.
Sobrecarga de operadores Unarios
Conversiones Personalizadas y Indexación.
Public Shared Operator (Byval x As C) As C
End Operador
Clase para Números Racionales
Sobrecarga de Operadores Unarios
Conversiones e Indexación.
Sobrecarga de operadores Binarios
Roberto Gomez
Número Racional
Operación Asignación
Operación Aritmética
Comparación de Numeros
Operación IO
Incremento, Decremento signos.
Dim a As Racional, b As Racional = New Racional (4, 16)
a = b
Public Shared Operator +
(ByVal r1 As Racional, ByVal r2 As Racional)
As Racional
Return New Racional
(r1.numerador * r2.denominador)
End Operator
Dim c As Complejo, b As Complejo = New Complejo (3, -2)
Dim r As Racional = New Racional (1 . 2)
c = b + CType (r, Complejo)
Full transcript