Created
April 28, 2018 04:20
-
-
Save FraGoTe/703f7f282a87a7b154498c4a8d9d77b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//definiciones de las funciones miembro | |
Prueba::Prueba(int numero)//constructor. | |
{ | |
x = numero; | |
cout << "Se ejecuta el constructor del objeto nro: " << (*this).x << endl; | |
} | |
Prueba::~Prueba() | |
{ | |
cout << "Se ejecuta el DESTRUCTOR del objeto nro: " << (*this).x << endl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment