Tuesday, November 6, 2018
Text files!
One would think that all files are binary. But in the old days of mechanical web pages, it wasn't binary, there was a big quantum mechanical thing called typewriters. Text fioles afre meant to simulate the old mechanical typewriters, and have become a pain for the modern computer.
Binay formatted test work fine, the application has to decide how the cursor moves. Example, fseek has problems on text files, basically inoperable. I thik the join system will break the rule, store everything in the modern binary format, including strings of printable characters.
I always opn in binary mode as I fear the source will undergo some modifications with line endings and tabs otherwise.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment