This commit is contained in:
2025-12-03 23:33:00 +01:00
parent 9bc260a750
commit 259a9b1e09
6 changed files with 9 additions and 32 deletions

View File

@@ -5,18 +5,15 @@
#include <iostream>
#include <string>
using namespace std;
#define TH_TAM 997
class TablaHash {
private:
friend class DiccionarioCuacs;
int nElem;
int M;
list<Cuac> *lista;
list<Cuac> lista[TH_TAM];
public:
TablaHash();
TablaHash(int M);
~TablaHash();
Cuac* insertar(Cuac nuevo);
void consultar(string nombre);
unsigned int h(string clave);