martinthurn
New member
Your program does not match your description. It's not searching for "a string", it's searching for two or more consecutive occurrences of the same character (and replacing that with the character followed by the number of times it appears.
Also you open and close FILE, but you do not read from or write to it.
Also you open and close FILE, but you do not read from or write to it.