View Single Post
  #2 (permalink)  
Old February 25th, 2005, 03:40 AM
C@uark C@uark is offline
Authorized User
 
Join Date: Oct 2004
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to C@uark
Default

Well what I would do is have a loop to read a line in from file, have a nested loop to tokenize the line using strtok(string.h header)with a delimiter of whitespace. check the token for one of the words that you wish to delete. If it is not a word that you wish to delete save to your new file(with append option), if it is a word that you wish to delete continue through the loop to the next token.
Reply With Quote