Ver Mensaje Individual
  #3 (permalink)  
Antiguo 16/03/2007, 12:27
Avatar de Eternal Idol
Eternal Idol
 
Fecha de Ingreso: mayo-2004
Ubicación: Lucentum
Mensajes: 6.192
Antigüedad: 20 años
Puntos: 74
Re: Sobre herencia, punteros y métodos

Podes hacer un cast asi por ejemplo:

tipoB *variableTipoB = (tipoB*)variableTipoA;
__________________
¡Peron cumple, Evita dignifica! VIVA PERON CARAJO