Hi
Please i'm a noob when it comes to the programming ish but i need the algorithm for a program that could read the amount of words in a text file
Thank you
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Mar 7, 2015, 8:17 AM
This treats words containing hyphens, underscores and apostrophes as single words which I think is what most people would do if they were counting the words 'by hand':
using System;