Discussion :: Input / Output - Yes / No Questions (Q.No.2)
|MrMino said: (Jan 25, 2016)|
|The file written as text can be read with fread (& some_char, sizeof (char), 1, input); in loop. It will spew out eols anyway. As long as text is encoded in ASCII.|
|Jim Dines said: (Sep 2, 2017)|
|The answer to this question is yes. You can read the file back just fine. When you do it will have the appropriate CR/LF or LF at the end of each line that was written/appended when opened in text mode.
I also agree @Mrmino.
Post your comments here:
Email : (optional)
» Your comments will be displayed only after manual approval.