First commit 13/02/1995

This commit is contained in:
2021-09-12 19:56:57 +02:00
commit 0b071899d4
20 changed files with 654 additions and 0 deletions

24
CLASS.CPP Normal file
View File

@ -0,0 +1,24 @@
#include <iostream.h>
class Prueba {
public:
Prueba( int X, int Y ){ cout<<"\nObjeto creado con X:"<<X<<", Y:"<<Y; };
~Prueba(){ cout<<"\n Objeto destruido" ; };
private:
int x;
int y;
};
void main(void)
{
Prueba *p;
p = new Prueba(5,9);
delete p;
}