|
-
Oct 30th, 2004, 03:46 PM
#1
Thread Starter
Frenzied Member
# of occurrences of a word.{resolved}
I've been trying to write a program that reads text from a file and then counts the number of times a certain word occures(such as "if"). I got the part were it reads the text from file but not sure how to count the number of times a word appears. Anyone know of a method on how to do this??
Last edited by System_Error; Oct 31st, 2004 at 03:14 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|