23 lines
386 B
C++
23 lines
386 B
C++
#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; }
|
|
};
|
|
|