Untitled
public text v1 · immutablechar * word = new char[20];
int word_len;
ifstream dict (filename);
while (!dict.eof()) {
dict.getline(word, 20);
word_len = strlen(word);
HT[word_len].push_back(word);
}char * word = new char[20];
int word_len;
ifstream dict (filename);
while (!dict.eof()) {
dict.getline(word, 20);
word_len = strlen(word);
HT[word_len].push_back(word);
}