Is this a part 2 of this http://www.cprogramming.com/cboard/s...threadid=15710

If you want to compare you need to do
f (inword != '\n' ||inword != ',' ||inword != '.')
{
word_count++;
{