Lab 2

Due 9:40AM September 14, 2008

  1. Implement a program that counts the number of times the word "vampire" appears in the file dracula.txt.
  2. Implement a program that provides search-and-replace functionality.  Allow the user to specify a search term, a replace term, and a file name.  Open the file, replace all instances of the search term with the replace term and save the result to a new file.

Sami Rollins