Say I have a simple text file.txt: 1234567890
. I need to edit it inserting a +
between each character in file. Simpliest would be to use fseek yet
For streams open in text mode, offset shall either be zero or a value returned by a previous call to ftell, and origin shall necessarily be SEEK_SET.
So I can only stay where I currently am with it or at the beggining of file stream?
so the question is how to fseek 1 character left or right from current position when editing a text file in C?