Print a hash table function (it does not work and the program it crashes)
问题 I just started to learn about hash tables.I have to write a program which displays and list a hash table.The keys are a list of words from a txt file which is a dictionary. I wrote the code but I got a breakpoint in main file when I call the list function to print the table.The program crashes.How to fix it ?The list function is in functions file. Here is code I wrote: main file #include <iostream> #include <fstream> #include <string> #include "header.h" using namespace std; int main() { elem