Ok, my assignment is to create a menu driven program that will allow the user to input the name of the file they want to use and then either tell how many words are in it, what the longest word is and the average word length, or find how many times a word occurs.
I _think_ (fingers crossed) I can make it do all of those things, if someone can explain how to get it to open a file when the name is typed in by the user, and how to make it go through that file.
Much Thanks,
Atropos