My wordcount is x36 faster than wc on large files(to benchmarks use some linux .iso), but of course doesn't handle Unicode(i don't support Unicode on principle. Use <wchar> and replace isspace /iswspace from <wctype> if you need Unicode support.).
http://void.wikidot.com/code:wordcount-c