Skip to content

Instantly share code, notes, and snippets.

Created Apr 28, 2018
What would you like to do?
//definiciones de las funciones miembro
Prueba::Prueba(int numero)//constructor.
x = numero;
cout << "Se ejecuta el constructor del objeto nro: " << (*this).x << endl;
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