FILE HANDLING
I need to write a program that
a. takes a text file as input (i know i can use fopen with this)
b. modifies the contents of the text file and creates a separate file (it means i have to have another file, the formatted one and must have a different filename) with the ff features
- all words at the start of the sentence should be capitalized.
- additional blank spaces should be removed.
c. also prints the statistics in the text of the number of characters, words and sentences. (i have a knowledge here... i must have a counter for each...)
please help me... thanks![/font=Arial][/size=3][/size=1]
|