I was creating some sort of text editing program.
Whose display and file writing are going parallely.
How to clear the character in the file when i dont back space.
I tried clear character by replacing with Space(32), NULL(0), but it didn't workout fine.. just replacing the character...how do delete the character.
//i tried it like this fseek(fp,-1,SEEK_CUR); fputc(<character to be replaced>,fp); fseek(fp,-1,SEEK_CUR);