This commit is contained in:
2025-10-28 13:14:03 +01:00
commit 6bb476f53e
9 changed files with 335 additions and 0 deletions

22
diccionariocuacs.hpp Normal file
View File

@@ -0,0 +1,22 @@
#pragma once
#include "fecha.hpp"
#include "cuac.hpp"
#include <list>
#include <string>
#include <iostream>
using namespace std;
class DiccionarioCuacs {
private:
list<Cuac> lista;
int contador;
public:
DiccionarioCuacs();
void insertar(Cuac nuevo);
void last(int n);
void follow(string nombre);
void date(Fecha f1, Fecha f2);
int numElem() { return contador; }
};