View Single Post
  #1 (permalink)  
Old February 24th, 2005, 10:13 AM
amahja56 amahja56 is offline
Authorized User
 
Join Date: Jan 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default c++ file handling.

hello..
im writing a program that deals with multple files actually....
first i have a file called Text.text that contains the follwoing :

The Senior Project in RIT's undergraduate Software Engineering curriculum provides
a capstone design experience for every graduate of the program.
The project's educational value is greatest if the project is
for a real customer who needs a software system developed.
The Department of Software Engineering actively solicits external industrial


what im trying to do is to write a c++ code that reads this file and go through each line and delete the following words : if -is-as-to-for-the. then store the modified text "like every sentence in new line" in a new file called NewFile.text
the code i have wrtten so far only displays whats in the file..but it doesnt do anyof the deletion stuff.....can any one help me,please?



Reply With Quote