Submit your solution online by 11:59ppm on February 9th. Do this by creating a directory named hw3 that contains a source file named xref.c. From within that directory, type "submit hw3".
K&R Exercise 6-3, p143. Take an input filename as an optional command line argument, otherwise read from standard input. (i.e. when there is a command line argument, read from that file instead of standard input.) Your program should write to standard output.
Here's a few lines of sample output taken from a working program.
while: 135 138 word: 15 84 90 92 92 97 97 147 152 177 177 202 zebra: 111
Your program should be case insensitive. This means it treats 'Word' the same as 'word.'
Here is your list of noise words:
a
an
the
he
she
it
they
his
her
him
hers
its
theirs
be
am
is
are
was
were
to
of
if
A word is a series of alphanumeric characters with non-alphanumeric characters preceding or following it.