Ngram issues.

So I'm having an issue progressing in this program I'm trying to write for class where I have to write the implementation for it. I get what I have to do according to the header provided, but I'm having the most trouble with this fillWordList function.

1
2
3
void fillWordList(string source[], int &sourceLength);
// read a text file from standard in and add all
// space-separated words to the word list wl 


I don't have a clue of what to do here.

Any help would be greatly appreciated. Thank you.
Topic archived. No new replies allowed.