2020-02-09 13:28:03 +01:00
|
|
|
|
/*
|
|
|
|
|
Fernando M<EFBFBD>ndez
|
|
|
|
|
https://fernmend.ddns.net
|
|
|
|
|
C++ | Clases y memoria din<EFBFBD>mica.
|
|
|
|
|
*/
|
|
|
|
|
|
2020-02-08 20:32:39 +01:00
|
|
|
|
#include "ListaPersonas.h"
|
|
|
|
|
#include "checkML.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF); //Detecta posibles fugas de memoria.
|
|
|
|
|
|
2020-02-09 13:28:03 +01:00
|
|
|
|
ListaPersonas lista = ListaPersonas();
|
2020-02-08 20:32:39 +01:00
|
|
|
|
|
2020-02-09 13:28:03 +01:00
|
|
|
|
lista.agregar();
|
|
|
|
|
lista.mostrar();
|
2020-02-08 20:32:39 +01:00
|
|
|
|
system("PAUSE");
|
|
|
|
|
|
2020-02-09 13:28:03 +01:00
|
|
|
|
lista.liberar();
|
2020-02-08 20:32:39 +01:00
|
|
|
|
return 0;
|
|
|
|
|
}
|