Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Write a program that reads text from one file and writes an edited version
- of the same text to another file. The edited version is identical to the unedited
- version except that every string of two or more consecutive blanks
- is replaced by a single blank. Thus, the text is edited to remove any extra
- blank characters. Your program should define a function that is called with
- the input- and output-file streams as arguments. If this is being done as a
- class assignment, obtain the file names from your instructor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement