Abstract

In this section we will discuss a different kind of file that stores information in a binary format rather than as text. Recall from previous examples throughout this book that data files were always text files in the sense that they could be created with a text editor or a word processor in a human-readable format. Even numerical information was stored in terms of readable characters—the digits 0-9 plus other appropriate characters such as a period serving as a decimal point. Through the use of appropriate conversion specifiers, the contents of this kind of file could be interpreted by a program either as text (characters) or as numerical information. We treated such files as sequential access files in which we always started reading information at the beginning of the file and proceeded sequentially from one value to the next. We stopped either when we found what we were looking for or, more typically, when we got to the end of the file.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.