I've been given an assignment question and im stuck. The question is:
Write a program that reads an input text file, identifying and auto-correcting the following common typing errors: ‘Space before comma or a full-stop’, ‘Multiple spaces as opposed to a single space’, and ‘Missing spaces’.
I can only go as far as making a text file in C and reading it but im oblivious about how the code should be in order to auto-correct the typing errors in the text file. Can someone please explain to me what needs to be done? Thanks