Files
quacker/tablahash.hpp
2025-12-03 23:33:00 +01:00

23 lines
382 B
C++

#pragma once
#include <list>
#include "cuac.hpp"
#include "fecha.hpp"
#include <iostream>
#include <string>
using namespace std;
#define TH_TAM 997
class TablaHash {
private:
int nElem;
int M;
list<Cuac> lista[TH_TAM];
public:
TablaHash();
Cuac* insertar(Cuac nuevo);
void consultar(string nombre);
unsigned int h(string clave);
int elem() { return nElem; }
};