I have to accomplish this:
Quote:
Create a wordCount application that displays the number of words and the average word length in a text file named source.txt. Consider a to be any sequence of letters terminated by nonletters. For example, forty-nine is two words.
|
I don't want anyone to do it for me, because it's for a course, but my teacher can't really provide any help, because he doesn't know C++.
Main reason my teacher can't really help me, is because this is supposed to be a java course, and I'm doing C++, because I've already done java, extensively.
If anyone could link me to a few useful sites, I'd appreciate it a lot.
(I've tried google, and nothing was too spectacular)
I don't think I'll have much trouble with the file writing... But the string manipulation is going to be a bit of a pain.
__________________