12 int main(
int argc,
char* argv[]) {
15 cerr <<
"Use: " << argv[0] <<
" <filename>" <<
" <word_length>";
19 int word_length = stoi(argv[2]);
22 vector<string> wol = dic.wordsOfLength(word_length);
25 for (
int i = 0; i != wol.size(); i++)
26 cout << wol[i] << endl;