Silly Question?

Rick Eames athos at apple.com
Sat Oct 14 02:44:00 AEST 1989


Okay, here it is:  I am writing a program which takes a text file and 
ouputs a concordance of the words in the file.  I have it working fine, 
however, I have problems with contractions:  (i.e. can't)  My question is 
this: does anyone have any good ideas for filtering every punctuation mark 
except contraction apostraphes?  I know how to do this in pascal, but not 
c.  Even in pascal, however, it is still kind of kludgy....

Rick Eames



More information about the Comp.lang.c mailing list